From c342f7182586afb9b6fdf1842c34c72b5a681cd1 Mon Sep 17 00:00:00 2001 From: Alexander Hartmaier Date: Sat, 23 Oct 2010 16:20:06 +0200 Subject: [PATCH] small test improvement --- t/lib/RunTests.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' ); -- 2.45.2