Bug 22563: (follow-up) Fix tests in Koha/Account.t
[koha-equinox.git] / t / db_dependent / Koha / Account.t
index 735a7c9..e6e0f67 100755 (executable)
@@ -622,7 +622,7 @@ subtest 'pay() handles lost items when paying a specific lost fee' => sub {
             borrowernumber => $patron->id,
             itemnumber     => $item->id,
             date           => \'NOW()',
-            accounttype    => 'L',
+            accounttype    => 'LOST',
             interface      => 'cli',
             amount => '1',
             amountoutstanding => '1',
@@ -695,7 +695,7 @@ subtest 'pay() handles lost items when paying by amount ( not specifying the los
             borrowernumber => $patron->id,
             itemnumber     => $item->id,
             date           => \'NOW()',
-            accounttype    => 'L',
+            accounttype    => 'LOST',
             interface      => 'cli',
             amount => '1',
             amountoutstanding => '1',
@@ -766,7 +766,7 @@ subtest 'Koha::Account::Line::apply() handles lost items' => sub {
             borrowernumber    => $patron->id,
             itemnumber        => $item->id,
             date              => \'NOW()',
-            accounttype       => 'L',
+            accounttype       => 'LOST',
             interface         => 'cli',
             amount            => '1',
             amountoutstanding => '1',