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)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Sat, 23 Jan 2016 18:28:49 +0000 (18:28 +0000)
commit3430e554cacfb31e9085fd2e209728662936dc3e
treec10436e524d227b55cb1e6c0728d6ec2f8afd39a
parent538320123debe5bc11195ffaff0fcb1bca2cd818
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: Hector Castro <hector.hecaxmmx@gmail.com>
Test pass successfuly

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
Koha/MetadataRecord.pm