Lines 46-52
my $interface = 'opac';
Link Here
|
46 |
# Mock few preferences |
46 |
# Mock few preferences |
47 |
t::lib::Mocks::mock_preference('OPACBaseURL', 'testopac.com' ); |
47 |
t::lib::Mocks::mock_preference('OPACBaseURL', 'testopac.com' ); |
48 |
t::lib::Mocks::mock_preference('StaffClientBaseURL', 'teststaff.com' ); |
48 |
t::lib::Mocks::mock_preference('StaffClientBaseURL', 'teststaff.com' ); |
49 |
t::lib::Mocks::mock_preference( 'EmailFieldPrimary', 'OFF' ); |
49 |
t::lib::Mocks::mock_preference( 'EmailFieldPrimary', '' ); |
50 |
t::lib::Mocks::mock_preference( 'EmailFieldPrecedence', 'emailpro' ); |
50 |
t::lib::Mocks::mock_preference( 'EmailFieldPrecedence', 'emailpro' ); |
51 |
|
51 |
|
52 |
# Mock Context: config, tz and interface |
52 |
# Mock Context: config, tz and interface |