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',