X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F93single_accessor_object.t;h=892e65677192688a66666e2a47e8075c7cbe6897;hb=551e711a765052e8bdcb4ab704b5e05c5422330b;hp=2303bdb88da7ae6168cc76d5afa0e723ade8f92e;hpb=f9c0575907bef675a8431acaf7aef86ed141e3b7;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/t/93single_accessor_object.t b/t/93single_accessor_object.t index 2303bdb..892e656 100644 --- a/t/93single_accessor_object.t +++ b/t/93single_accessor_object.t @@ -48,7 +48,7 @@ $schema = DBICTest->init_schema(); my $artist = $schema->resultset('Artist')->create({ artistid => 666, name => 'bad religion' }); my $cd = $schema->resultset('CD')->create({ cdid => 187, artist => 1, title => 'how could hell be any worse?', year => 1982, genreid => undef }); - ok(!defined($cd->genreid), 'genreid is NULL'); + ok(!defined($cd->get_column('genreid')), 'genreid is NULL'); #no accessor was defined for this column ok(!defined($cd->genre), 'genre accessor returns undef'); }