From 9f13d9fb335e617dc8232f52fa9f41e89245f7d7 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 18 Oct 2019 13:24:48 +0100 Subject: [PATCH] Bug 23049: (QA follow-up) Correction to patrons_accounts.t Signed-off-by: Marcel de Rooy Signed-off-by: Martin Renvoize --- t/db_dependent/api/v1/patrons_accounts.t | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/t/db_dependent/api/v1/patrons_accounts.t b/t/db_dependent/api/v1/patrons_accounts.t index 53cebb3e25..a9d236959a 100644 --- a/t/db_dependent/api/v1/patrons_accounts.t +++ b/t/db_dependent/api/v1/patrons_accounts.t @@ -65,7 +65,7 @@ subtest 'get_balance() tests' => sub { date => \'NOW()', amount => 50, description => "A description", - debit_type_code => "N", # New card + debit_type_code => "NEW_CARD", # New card amountoutstanding => 50, manager_id => $patron->borrowernumber, branchcode => $library->id, @@ -80,7 +80,7 @@ subtest 'get_balance() tests' => sub { date => \'NOW()', amount => 50.01, description => "A description", - debit_type_code => "N", # New card + debit_type_code => "NEW_CARD", # New card amountoutstanding => 50.01, manager_id => $patron->borrowernumber, branchcode => $library->id, @@ -183,7 +183,7 @@ subtest 'add_credit() tests' => sub { date => \'NOW()', amount => 10, description => "A description", - debit_type_code => "N", # New card + debit_type_code => "NEW_CARD", # New card amountoutstanding => 10, manager_id => $patron->borrowernumber, interface => 'test', @@ -194,7 +194,7 @@ subtest 'add_credit() tests' => sub { date => \'NOW()', amount => 15, description => "A description", - debit_type_code => "N", # New card + debit_type_code => "NEW_CARD", # New card amountoutstanding => 15, manager_id => $patron->borrowernumber, interface => 'test', @@ -221,7 +221,7 @@ subtest 'add_credit() tests' => sub { date => \'NOW()', amount => 100, description => "A description", - debit_type_code => "N", # New card + debit_type_code => "NEW_CARD", # New card amountoutstanding => 100, manager_id => $patron->borrowernumber, interface => 'test', -- 2.39.2