[Koha-bugs] [Bug 15151] New: t/Circulation_barcodedecode.t fails if no DB present

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 6 14:41:53 CET 2015


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

            Bug ID: 15151
           Summary: t/Circulation_barcodedecode.t fails if no DB present
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: blocker
          Priority: P5 - low
         Component: Test Suite
          Assignee: chris at bigballofwax.co.nz
          Reporter: tomascohen at gmail.com
        QA Contact: gmcharlt at gmail.com

It should be mocking the DB, but...

To reproduce:
- Run the test:
  $ prove t/Circulation_barcodedecode.t
=> SUCCESS: Tests pass
- Shut mysql down
  $ sudo service mysql stop
- Run the test:
  $ prove t/Circulation_barcodedecode.t
=> FAIL: Tests fail due to missing DB connection

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


More information about the Koha-bugs mailing list