X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F64db.t;h=3a761e453171cb47b66372af80e12266ef3599c6;hb=97240d04f2e08c0a4c1347c072e18d487ad84ecb;hp=d9c03aabf6cfc8475bf1c5b6fc0079228254f80e;hpb=a47e123334d8bcea0d34dc9ea09738d6f3b1fd49;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/t/64db.t b/t/64db.t index d9c03aa..3a761e4 100644 --- a/t/64db.t +++ b/t/64db.t @@ -39,8 +39,8 @@ my $type_info = $schema->storage->columns_info_for('artist'); # I know this is gross but SQLite reports the size differently from release # to release. At least this way the test still passes. -delete $type_info->{artistid}{size}; -delete $type_info->{name}{size}; +delete $type_info->{$_}{size} for keys %$type_info; + my $test_type_info = { 'artistid' => { @@ -51,6 +51,10 @@ my $test_type_info = { 'data_type' => 'varchar', 'is_nullable' => 0, }, + 'rank' => { + 'data_type' => 'integer', + 'is_nullable' => 0, + }, }; is_deeply($type_info, $test_type_info, 'columns_info_for - column data types');