X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F93single_accessor_object.t;h=2303bdb88da7ae6168cc76d5afa0e723ade8f92e;hb=9851dada033612ff82dd6a6a6d9da84478a30ed1;hp=8a1281a0d0a2200844cafa195bd3a78b268b9535;hpb=caac17085ae813b9c6a71bf3f81c3a388809d8f2;p=dbsrgits%2FDBIx-Class.git diff --git a/t/93single_accessor_object.t b/t/93single_accessor_object.t index 8a1281a..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({ genreid => 88, name => 'disco', demographicid => 1 }); + 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';