Showing 1 changed files with 2 additions and 1 deletions
+2 -1
t/dbix-custom-core-sqlite.t
... ...
@@ -2704,7 +2704,8 @@ $dbi->type_rule(
2704 2704
 );
2705 2705
 $dbi->insert({key1 => 2}, table => 'table1', type_rule_off => 1);
2706 2706
 $result = $dbi->select(table => 'table1', type_rule_off => 1);
2707
-is($result->fetch->[0], 4);
2707
+$result->type_rule_off(1);
2708
+is($result->fetch->[0], 2);
2708 2709
 
2709 2710
 $dbi = DBIx::Custom->connect(dsn => 'dbi:SQLite:dbname=:memory:');
2710 2711
 $dbi->execute("create table table1 (key1 Date, key2 datetime)");