Fix two aliasing bugs: remove the alias when provided to new_result and add the alias...
[dbsrgits/DBIx-Class.git] / t / 64db.t
index d9c03aa..47aff46 100644 (file)
--- a/t/64db.t
+++ b/t/64db.t
@@ -41,6 +41,7 @@ my $type_info = $schema->storage->columns_info_for('artist');
 
 delete $type_info->{artistid}{size};
 delete $type_info->{name}{size};
+delete $type_info->{agent}{size};
 
 my $test_type_info = {
     'artistid' => {
@@ -51,6 +52,10 @@ my $test_type_info = {
         'data_type' => 'varchar',
         'is_nullable' => 0,
     },
+    'agent' => {
+        'data_type' => 'integer',
+        'is_nullable' => 0,
+    },
 };
 is_deeply($type_info, $test_type_info, 'columns_info_for - column data types');