Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Tigrov committed Sep 20, 2024
1 parent 295fa65 commit 6f23a9d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/SchemaTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,20 @@ public function testColumnSchema(array $columns, string $tableName): void
$columns['id']['dbType'] = 'int';
$columns['id']['size'] = null;
}

if ($tableName === 'T_constraints_1') {
$columns['C_id']['dbType'] = 'int';
$columns['C_id']['size'] = null;

$columns['C_not_null']['dbType'] = 'int';
$columns['C_not_null']['size'] = null;

$columns['C_unique']['dbType'] = 'int';
$columns['C_unique']['size'] = null;

$columns['C_default']['dbType'] = 'int';
$columns['C_default']['size'] = null;
}
}

parent::testColumnSchema($columns, $tableName);
Expand Down

0 comments on commit 6f23a9d

Please sign in to comment.