fixes for deleting ship drivers created during testing
This commit is contained in:
parent
6e9031de4a
commit
be29a09114
2 changed files with 10 additions and 9 deletions
|
|
@ -234,9 +234,10 @@ cmp_deeply(
|
|||
#
|
||||
#######################################################################
|
||||
|
||||
my $driverId = $driver->getId;
|
||||
$driver->delete;
|
||||
|
||||
my $count = $session->db->quickScalar('select count(*) from shipper where shipperId=?',[$driver->getId]);
|
||||
my $count = $session->db->quickScalar('select count(*) from shipper where shipperId=?',[$driverId]);
|
||||
is($count, 0, 'delete deleted the object');
|
||||
|
||||
undef $driver;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue