X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F71mysql.t;h=031529c1d89498a41d3b05e09328b8df320f7e5e;hb=3a4c1d89695fc181340e6eb5d469485798f067e7;hp=78ecb61db98be541f9fefcb8a130de15a13ce99f;hpb=8de9298cd21c79c16337af2ee1adf61f906b803e;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/t/71mysql.t b/t/71mysql.t index 78ecb61..031529c 100644 --- a/t/71mysql.t +++ b/t/71mysql.t @@ -164,10 +164,12 @@ lives_ok { $cd->set_producers ([ $producer ]) } 'set_relationship doesnt die'; ## ## Only way is to do a SET SQL_AUTO_IS_NULL = 0; on connect ## But I'm not sure if we should do this or not (Ash, 2008/06/03) +# +# There is now a built-in function to do this, test that everything works +# with it (ribasushi, 2009/07/03) NULLINSEARCH: { - local $TODO = 'Fix pending in branches/mysql_ansi'; - my $ansi_schema = DBICTest::Schema->connect ($dsn, $user, $pass); + my $ansi_schema = DBICTest::Schema->connect ($dsn, $user, $pass, { on_connect_call => 'set_strict_mode' }); $ansi_schema->resultset('Artist')->create ({ name => 'last created artist' });