do not delete the default payment gateways!
This commit is contained in:
parent
c4d9462790
commit
a3274f47ec
1 changed files with 1 additions and 2 deletions
|
|
@ -471,7 +471,7 @@ my $count = $session->db->quickScalar('select count(*) from paymentGateway where
|
||||||
$driver->paymentGatewayId
|
$driver->paymentGatewayId
|
||||||
]);
|
]);
|
||||||
|
|
||||||
is ($count, 0, 'delete deleted the object');
|
is ($count, 0, 'delete deleted the object');
|
||||||
|
|
||||||
undef $driver;
|
undef $driver;
|
||||||
|
|
||||||
|
|
@ -481,5 +481,4 @@ undef $driver;
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
# Cleanup
|
# Cleanup
|
||||||
END {
|
END {
|
||||||
$session->db->write('delete from paymentGateway');
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue