]> git.koha-community.org Git - koha.git/commit
Bug 18286: [Follow-up] Remove assumption on branch count
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tue, 2 May 2017 14:18:41 +0000 (16:18 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 5 Jun 2017 20:52:44 +0000 (17:52 -0300)
commitfb3654077ff7331c71c033ddcedfe576fd8d7e28
tree41d085727cf3689b2e776f2488b85d49ebd7fc2e
parent70ae3a9dc26bb0af8567431c3e0e5d236a527103
Bug 18286: [Follow-up] Remove assumption on branch count

A test in db_dependent should not make assumptions on the number of
branches in the database. If you need one, create one. Removing the
assumption of a non-zero count.

Removing the library count statement outside the subtest.
Replacing C4::Context by Koha::Database.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/db_dependent/01-test_dbic.t