4 # This stub module is used to override
5 # the C4::Context sub preference for the
6 # purpose of the test suite. This allows
7 # non-DB-dependent tests of most modules,
8 # particularly the ones that include C4::Dates.
17 return 'us' if $pref eq 'dateformat';
18 return 'MARC21' if $pref eq 'marcflavour';
19 return 'Test Library' if $pref eq 'LibraryName';