From: zby Date: Mon, 16 Feb 2009 13:18:14 +0000 (+0000) Subject: one less warning in tests X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=052ba095d490f76c1f57ea0834a3957c97e6d7a3;p=chaz%2Fp5-DBIx-Class-ResultSet-RecursiveUpdate one less warning in tests --- 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 05db715..67a2227 100644 Binary files a/t/var/dvdzbr.db and b/t/var/dvdzbr.db differ