From: Peter Rabbitson Date: Mon, 22 Sep 2008 00:34:54 +0000 (+0000) Subject: Make t/93single_accessor_object.t work under DBICTEST_SQLT_DEPLOY=1, although I am... X-Git-Tag: v0.08240~352 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f9c0575907bef675a8431acaf7aef86ed141e3b7;p=dbsrgits%2FDBIx-Class.git Make t/93single_accessor_object.t work under DBICTEST_SQLT_DEPLOY=1, although I am not quite sure how and why it passed with the stock sqlite.sql --- diff --git a/t/93single_accessor_object.t b/t/93single_accessor_object.t index 287785f..2303bdb 100644 --- a/t/93single_accessor_object.t +++ b/t/93single_accessor_object.t @@ -56,7 +56,7 @@ $schema = DBICTest->init_schema(); { my $artist = $schema->resultset('Artist')->create({ artistid => 666, name => 'bad religion' }); - my $genre = $schema->resultset('Genre')->create({ name => 'disco' }); + my $genre = $schema->resultset('Genre')->create({ genreid => 88, name => 'disco' }); my $cd = $schema->resultset('CD')->create({ cdid => 187, artist => 1, title => 'how could hell be any worse?', year => 1982 }); dies_ok { $cd->genre } 'genre accessor throws without column';