[Koha-bugs] [Bug 13277] t/SuggestionEngine_AuthorityFile.t shouldn't depend on the DB

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 18 05:02:08 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13277

--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 33634
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=33634&action=edit
Bug 13277: t/SuggestionEngine_AuthorityFile.t shouldn't depend on the DB

To reproduce:
- Stop your MySQL server:
  $ sudo service mysql stop
- Run
  $ prove t/SuggestionEngine_AuthorityFile.t
=> FAIL: some tests fail because of mysql stopped

To test (MySQL still stopped)
- Apply the patch
- Run
  $ prove t/SuggestionEngine_AuthorityFile.t
=> SUCCESS: tests pass because the ycan be loaded regardless of
            the absence of the DB server
- Sign off :-D

Regards

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list