Bug 16406 - Fix Context.t tests 27, 37 and sysprefs.t
Summary: Fix Context.t tests 27, 37 and sysprefs.t
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Test Suite (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor (vote)
Assignee: Chris Cormack
QA Contact: Galen Charlton
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-30 14:18 UTC by Marcel de Rooy
Modified: 2016-12-05 21:23 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcel de Rooy 2016-04-30 14:18:22 UTC
Resolves:
t/db_dependent/Context.t (Wstat: 512 Tests: 40 Failed: 2)
  Failed tests:  27, 37
  Non-zero exit status: 2
Comment 1 Marcel de Rooy 2016-04-30 14:33:01 UTC
This may not be that easy.
If you did not enable a cache and Koha cannot initialize memcached somehow, this test fails.
Comment 2 Marcel de Rooy 2016-04-30 15:04:18 UTC
Similar problem here:

#   Failed test 'caching preferences'
#   at t/db_dependent/sysprefs.t line 59.
#          got: undef
#     expected: 'def'
# Looks like you failed 1 test of 8.
Comment 3 Jonathan Druart 2016-05-02 09:58:38 UTC
It's a specific case, maybe we should skip the caching tests if no cache is enabled.
Comment 4 Marcel de Rooy 2016-05-02 11:14:38 UTC
The revert on bug 16104 will resolve this issue too.