]> Dogcows Code - chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate/commitdiff
code for resolving - fix
authorzby <zby@bd8105ee-0ff8-0310-8827-fb3f25b6796d>
Fri, 30 Jan 2009 16:53:24 +0000 (16:53 +0000)
committerzby <zby@bd8105ee-0ff8-0310-8827-fb3f25b6796d>
Fri, 30 Jan 2009 16:53:24 +0000 (16:53 +0000)
t/lib/RunTests.pm
t/sqlite.t
t/var/dvdzbr.db

index d0fce655ea60f4d259c79d919d42aca15796cb2d..2036de02cd54e660fbf5f004073d3e20ac62f681 100644 (file)
@@ -20,6 +20,7 @@ sub run_tests{
     
     my $updates;
     $updates = {
     
     my $updates;
     $updates = {
+        id => undef,
             name => 'Test name 2',
             viewings => [ { user_id => $owner->id } ],
             owner => { id => $owner->id },
             name => 'Test name 2',
             viewings => [ { user_id => $owner->id } ],
             owner => { id => $owner->id },
@@ -37,6 +38,7 @@ sub run_tests{
 ;    
     # creating new records
     my $updates = {
 ;    
     # creating new records
     my $updates = {
+        id => undef,
             aaaa => undef,
             tags => [ '2', { id => '3' } ], 
             name => 'Test name',
             aaaa => undef,
             tags => [ '2', { id => '3' } ], 
             name => 'Test name',
index 45eca317591648d992a0ade3243f75d6e1fe3f77..ae617b6683058cc4cbfe458d4aa661001e10ee7f 100644 (file)
@@ -4,7 +4,7 @@ use lib 't/lib';
 use DBSchema;
 use RunTests;
 use Test::More;
 use DBSchema;
 use RunTests;
 use Test::More;
-plan tests => 19;
+plan tests => 23;
 
 my $schema = DBSchema::get_test_schema();
 run_tests( $schema );
 
 my $schema = DBSchema::get_test_schema();
 run_tests( $schema );
index 9c7241ca1a915c6f54cdbfe6a28551d8fdc7606a..6baf0116432b697306a4036b80177541bd649fd2 100644 (file)
Binary files a/t/var/dvdzbr.db and b/t/var/dvdzbr.db differ
This page took 0.028307 seconds and 4 git commands to generate.