From: Peter Rabbitson Date: Tue, 4 Aug 2009 13:39:05 +0000 (+0000) Subject: Remove bogus test - the real test is in t/multi_create/has_many.t X-Git-Tag: v0.08109~28^2~6 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=22b3008f3ba57b18e744e6ed1a198d71eb69ebd1;p=dbsrgits%2FDBIx-Class.git Remove bogus test - the real test is in t/multi_create/has_many.t --- diff --git a/t/multi_create/standard.t b/t/multi_create/standard.t index 9cd754f..57993cf 100644 --- a/t/multi_create/standard.t +++ b/t/multi_create/standard.t @@ -6,7 +6,7 @@ use Test::Exception; use lib qw(t/lib); use DBICTest; -plan tests => 93; +plan tests => 91; my $schema = DBICTest->init_schema(); @@ -329,26 +329,6 @@ lives_ok ( sub { }, 'Nested find_or_create'); lives_ok ( sub { - my $artist2 = $schema->resultset('Artist')->create({ - name => 'Fred 4', - cds => [ - { - title => 'Music to code by', - year => 2007, - }, - ], - cds_unordered => [ - { - title => 'Music to code by', - year => 2007, - }, - ] - }); - - is($artist2->in_storage, 1, 'artist with duplicate rels inserted okay'); -}, 'Multiple same level has_many create'); - -lives_ok ( sub { my $artist = $schema->resultset('Artist')->first; my $cd_result = $artist->create_related('cds', {