X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fp5-DBIx-Class-ResultSet-RecursiveUpdate;a=blobdiff_plain;f=t%2Flib%2FRunTests.pm;h=d2d83bbd0af1be8b09c6dec55f4b13db2dc3e26b;hp=5fe46f91b14a8b553d0f4851176639bf480d9736;hb=c342f7182586afb9b6fdf1842c34c72b5a681cd1;hpb=7506524e26fe0caaabab96d354eff58e2d9a1495 diff --git a/t/lib/RunTests.pm b/t/lib/RunTests.pm index 5fe46f9..d2d83bb 100644 --- a/t/lib/RunTests.pm +++ b/t/lib/RunTests.pm @@ -172,7 +172,7 @@ TODO: { is( $schema->resultset('User')->count, $expected_user_count, "No new user created" ); is( $dvd_updated->name, undef, 'Dvd name deleted' ); - is( $dvd_updated->owner->id, $another_owner->id, 'Owner updated' ); + is( $dvd_updated->get_column('owner'), $another_owner->id, 'Owner updated' ); is( $dvd_updated->current_borrower->name, 'new name a', 'Related record modified' ); is( $dvd_updated->tags->count, 0, 'Tags deleted' );