Delete basicrels tests. Modify run tests to use new syntax. Remove helperrels test...
[dbsrgits/DBIx-Class.git] / t / run / 04db.tl
index f7d847c..5208614 100644 (file)
@@ -1,6 +1,12 @@
-sub run_tests {
-my $schema = shift;
-  
+use strict;
+use warnings;  
+
+use Test::More;
+use lib qw(t/lib);
+use DBICTest;
+
+my $schema = DBICTest::init_schema();
+
 plan tests => 3;
 
 # add some rows inside a transaction and commit it
@@ -45,14 +51,6 @@ my $test_type_info = {
         'data_type' => 'varchar',
         'is_nullable' => 0,
     },
-    'position' => {
-        'data_type' => 'INTEGER',
-        'is_nullable' => 0,
-        'size' => undef,
-    },
 };
 is_deeply($type_info, $test_type_info, 'columns_info_for - column data types');
 
-}
-
-1;