From 052ba095d490f76c1f57ea0834a3957c97e6d7a3 Mon Sep 17 00:00:00 2001 From: zby Date: Mon, 16 Feb 2009 13:18:14 +0000 Subject: [PATCH] one less warning in tests --- t/lib/RunTests.pm | 5 ++--- t/var/dvdzbr.db | Bin 37888 -> 37888 bytes 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/t/lib/RunTests.pm b/t/lib/RunTests.pm index d608620..3ba2afc 100644 --- a/t/lib/RunTests.pm +++ b/t/lib/RunTests.pm @@ -18,10 +18,9 @@ sub run_tests{ my $another_owner = $user_rs->next; my $initial_user_count = $user_rs->count; my $initial_dvd_count = $dvd_rs->count; + my $updates; # creating new record linked to some old record - - my $updates; $updates = { name => 'Test name 2', viewings => [ { user_id => $owner->id } ], @@ -38,7 +37,7 @@ sub run_tests{ is ( $new_dvd->viewings->count, 1, 'Viewing created' ); # creating new records - my $updates = { + $updates = { aaaa => undef, tags => [ '2', { id => '3' } ], name => 'Test name', diff --git a/t/var/dvdzbr.db b/t/var/dvdzbr.db index 05db715747caf346301fe317880451a95756a5e5..67a22273f9312a2f952d16dee5981748a2c587e6 100644 GIT binary patch delta 182 zcmZoz!PKyVX@a!ia|Q?y2T}qI47SrY>YQa}uLknCZkKLi;Z(ak%A!QiIZz5wzJ(%ViR|j2ODFqCc(