Bug 20996: (follow-up) Fix test
authorJosef Moravec <josef.moravec@gmail.com>
Mon, 5 Nov 2018 08:51:32 +0000 (08:51 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Mon, 5 Nov 2018 14:40:55 +0000 (14:40 +0000)
commit5b807fd3d75e059ad8ea48c126b3aaf2b68a26e9
treeef5dc9b61035b3cbe0834486d5859b5f4c4148d6
parent1a0172a253e5432e5eef862768aaacb3463501f2
Bug 20996: (follow-up) Fix test

- Fixes the t/db_dependent/Illrequest/Config.t
- Adds tests for Koha::Illrequest::Config->has_branch

0) Do not apply the path
1) Run test t/db_dependent/Illrequest/Config.t
2) It fails - it is because the Koha/Illrequest/Config.pm prefixes
handling changed
3) Apply the patch
4) Run test again, it should pass now
5) Read through the test code and confirm it makes sense

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
t/db_dependent/Illrequest/Config.t