Bug 20581: (follow-up) Fix unit test
authorAndrew Isherwood <andrew.isherwood@ptfs-europe.com>
Wed, 6 Feb 2019 14:18:59 +0000 (14:18 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 22 Feb 2019 14:31:31 +0000 (14:31 +0000)
Since we're now storing the authorised_value column as the foreign key,
rather than the id, we need to account for this in the test

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

t/db_dependent/Illrequests.t

index fc20d2d..9046852 100644 (file)
@@ -837,7 +837,7 @@ subtest 'Custom statuses' => sub {
         {
             class => 'Koha::Illrequests',
             value => {
-                status_alias => $av->id
+                status_alias => $av->authorised_value
             }
         }
     );