X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Frelationship%2Fupdate_or_create_single.t;h=a0e31fbb3e1a3bc20d5a62a80e368b6332fc6e6e;hb=590885aa6934c4eda2a19c08d69394e892ee41a0;hp=63ae4b1adad58aed73cbc9082a71aeb200470ecf;hpb=2284af7e437db36ac5ab4defa6dd7085a16a58fe;p=dbsrgits%2FDBIx-Class.git diff --git a/t/relationship/update_or_create_single.t b/t/relationship/update_or_create_single.t index 63ae4b1..a0e31fb 100644 --- a/t/relationship/update_or_create_single.t +++ b/t/relationship/update_or_create_single.t @@ -7,8 +7,7 @@ use DBICTest; my $schema = DBICTest->init_schema(); -#plan tests => 4; -plan 'no_plan'; +plan tests => 9; my $artist = $schema->resultset ('Artist')->first; @@ -79,7 +78,7 @@ is_deeply ( # expect a year update on the only related row -# (non-qunique column only) +# (non-unique column only) $genre->update_or_create_related ('model_cd', { year => 2011, }); @@ -96,5 +95,3 @@ is_deeply ( }, 'CD year column updated correctly without a disambiguator', ); - -