[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
Wed Nov 19 21:02:24 CET 2014


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

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #33641|0                           |1
        is obsolete|                            |

--- Comment #3 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 33698
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=33698&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

Signed-off-by: Magnus Enger <digitalutvikling at gmail.com>
Turned off MySQL and ran the tests before and after the patch.
Works as advertized.

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


More information about the Koha-bugs mailing list