X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Frun%2F11mysql.tl;h=15664d9968de1acc4efd4a65e0160f78e8343505;hb=d52170d466537df84dc1d86c84d9cd5a8e58407a;hp=2411b9672302121581d95bea45b9835a3a5dfa35;hpb=103e3e038c76f0665051b5f9aeabee2e888c8a15;p=dbsrgits%2FDBIx-Class.git diff --git a/t/run/11mysql.tl b/t/run/11mysql.tl index 2411b96..15664d9 100644 --- a/t/run/11mysql.tl +++ b/t/run/11mysql.tl @@ -20,7 +20,7 @@ $dbh->do("CREATE TABLE artist (artistid INTEGER NOT NULL AUTO_INCREMENT PRIMARY #'dbi:mysql:host=localhost;database=dbic_test', 'dbic_test', ''); -MySQLTest::Artist->load_components('PK::Auto::MySQL'); +MySQLTest::Artist->load_components('PK::Auto'); # test primary key handling my $new = MySQLTest::Artist->create({ name => 'foo' }); @@ -45,17 +45,20 @@ my $test_type_info = { 'artistid' => { 'data_type' => 'INT', 'is_nullable' => 0, - 'size' => 11 + 'size' => 11, + 'default_value' => undef, }, 'name' => { 'data_type' => 'VARCHAR', 'is_nullable' => 1, - 'size' => 255 + 'size' => 255, + 'default_value' => undef, }, 'charfield' => { 'data_type' => 'VARCHAR', 'is_nullable' => 1, - 'size' => 10 + 'size' => 10, + 'default_value' => undef, }, };