]> Dogcows Code - chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate/commitdiff
one less warning in tests
authorzby <zby@bd8105ee-0ff8-0310-8827-fb3f25b6796d>
Mon, 16 Feb 2009 13:18:14 +0000 (13:18 +0000)
committerzby <zby@bd8105ee-0ff8-0310-8827-fb3f25b6796d>
Mon, 16 Feb 2009 13:18:14 +0000 (13:18 +0000)
t/lib/RunTests.pm
t/var/dvdzbr.db

index d6086207de8538b8a324011f09edee59bb81445d..3ba2afc055cde3cafb152faaac33d0f8106bba51 100644 (file)
@@ -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',
index 05db715747caf346301fe317880451a95756a5e5..67a22273f9312a2f952d16dee5981748a2c587e6 100644 (file)
Binary files a/t/var/dvdzbr.db and b/t/var/dvdzbr.db differ
This page took 0.020954 seconds and 4 git commands to generate.