X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F71mysql.t;h=031529c1d89498a41d3b05e09328b8df320f7e5e;hb=166c656193b56e08b472c675e92b9076aac03a53;hp=836c846a6d96f0f986371787b544f2be39449c3f;hpb=6a9992417a9b274d874519fd42f1b331d5ac91e6;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/t/71mysql.t b/t/71mysql.t index 836c846..031529c 100644 --- a/t/71mysql.t +++ b/t/71mysql.t @@ -169,7 +169,9 @@ lives_ok { $cd->set_producers ([ $producer ]) } 'set_relationship doesnt die'; # with it (ribasushi, 2009/07/03) NULLINSEARCH: { - my $ansi_schema = DBICTest::Schema->connect ($dsn, $user, $pass, { on_connect_call => 'set_ansi_mode' }); + my $ansi_schema = DBICTest::Schema->connect ($dsn, $user, $pass, { on_connect_call => 'set_strict_mode' }); + + $ansi_schema->resultset('Artist')->create ({ name => 'last created artist' }); ok my $artist1_rs = $ansi_schema->resultset('Artist')->search({artistid=>6666}) => 'Created an artist resultset of 6666';