X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fdiscard_changes_in_DESTROY.t;h=736664d541fdacb17f9d1a9cd694fd5176491f8d;hb=3f6a394fe6ffd511796085e22d2651ef04ea70ef;hp=cefcda4381e22ed45aaf8a813600878cc1709e84;hpb=f54428abf9cc7d7e5604745335694eaf558f6820;p=dbsrgits%2FDBIx-Class.git diff --git a/t/discard_changes_in_DESTROY.t b/t/discard_changes_in_DESTROY.t index cefcda4..736664d 100644 --- a/t/discard_changes_in_DESTROY.t +++ b/t/discard_changes_in_DESTROY.t @@ -15,7 +15,7 @@ my $schema = DBICTest->init_schema(); local *DBICTest::Artist::DESTROY; local *DBICTest::Artist::DESTROY = sub { $_[0]->discard_changes }; - my $artist = $schema->resultset("Artist")->create( { + my $artist = $schema->resultset("Artist")->create( { artistid => 10, name => "artist number 10", });