Bug 20990: (follow-up) Fix test description
authorJosef Moravec <josef.moravec@gmail.com>
Mon, 25 Jun 2018 18:57:20 +0000 (18:57 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 13 Jul 2018 10:34:31 +0000 (10:34 +0000)
Test plan:
prove -v t/db_dependent/Koha/Account.t
--> Test message of first test of subtest outtanding_credits correctly says
"Outstanding credits total..."

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

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

t/db_dependent/Koha/Account.t

index 55c1e66..6350b16 100755 (executable)
@@ -100,7 +100,7 @@ subtest 'outstanding_credits() tests' => sub {
 
     my ( $total, $lines ) = $account->outstanding_credits();
 
-    is( $total, -10, 'Outstandig debits total is correctly calculated' );
+    is( $total, -10, 'Outstandig credits total is correctly calculated' );
 
     my $i = 0;
     foreach my $line ( @{ $lines->as_list } ) {