Lines 39-44
C4::Context->clear_syspref_cache();
Link Here
|
39 |
$OPACBaseURL = C4::Context->preference('OPACBaseURL'); |
39 |
$OPACBaseURL = C4::Context->preference('OPACBaseURL'); |
40 |
is($OPACBaseURL,'http://junk2','OPACBaseURL saved with http:// as specified'); |
40 |
is($OPACBaseURL,'http://junk2','OPACBaseURL saved with http:// as specified'); |
41 |
|
41 |
|
|
|
42 |
C4::Context->set_preference('OPACBaseURL', ''); |
43 |
$OPACBaseURL = C4::Context->preference('OPACBaseURL'); |
44 |
is($OPACBaseURL,'','OPACBaseURL saved empty as specified'); |
45 |
|
42 |
C4::Context->set_preference('SillyPreference','random'); |
46 |
C4::Context->set_preference('SillyPreference','random'); |
43 |
C4::Context->clear_syspref_cache(); |
47 |
C4::Context->clear_syspref_cache(); |
44 |
my $SillyPeference = C4::Context->preference('SillyPreference'); |
48 |
my $SillyPeference = C4::Context->preference('SillyPreference'); |
45 |
- |
|
|