Bug 15578: Make sure all params will be taken into account when instantiating
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 14 Jan 2016 12:27:55 +0000 (12:27 +0000)
committerJulian Maurice <julian.maurice@biblibre.com>
Wed, 17 Feb 2016 18:50:46 +0000 (19:50 +0100)
commit8931489565e6c272bce18dd3971e932cb78b0074
treea123924097b4cd81d93e10e2f92f60ab15f16bcf
parentd7ea9255568f37823d97f81e9cbf1c7aff9edffd
Bug 15578: Make sure all params will be taken into account when instantiating

The tests in t/db_dependent/Koha_Authority.t expects at least 1
authority record in the DB to run them, otherwise they are skipped.
On our integration server, the DB does not contain any records, and the
tests are skipped.
Unfortunately these tests were testing the authid method of
Koha::MetadataRecord::Authority.

Test plan:
Apply the first patch, launch tests
=> Fail
Apply the second patch, launch tests
=> \o/

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Koha/MetadataRecord.pm