X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fp5-DBIx-Class-ResultSet-RecursiveUpdate;a=blobdiff_plain;f=t%2Flib%2FRunTests.pm;h=3ba2afc055cde3cafb152faaac33d0f8106bba51;hp=d6086207de8538b8a324011f09edee59bb81445d;hb=052ba095d490f76c1f57ea0834a3957c97e6d7a3;hpb=fdf7f6a07c1013e9fac4a076599a47892d7dd331;ds=inline 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',