summaryrefslogtreecommitdiffstats
path: root/tests/mocks/database/schema
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mocks/database/schema')
-rw-r--r--tests/mocks/database/schema/skeleton.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/mocks/database/schema/skeleton.php b/tests/mocks/database/schema/skeleton.php
index 53df73bdd..47e8bfd35 100644
--- a/tests/mocks/database/schema/skeleton.php
+++ b/tests/mocks/database/schema/skeleton.php
@@ -12,7 +12,7 @@ class Mock_Database_Schema_Skeleton {
// Job Table
$forge->add_field(array(
'id' => array(
- 'type' => 'INT',
+ 'type' => 'INTEGER',
'constraint' => 3,
),
'name' => array(
@@ -21,11 +21,11 @@ class Mock_Database_Schema_Skeleton {
),
'description' => array(
'type' => 'TEXT',
- 'constraint' => 0,
),
));
$forge->add_key('id', TRUE);
- $forge->create_table('job', TRUE);
+ $res = $forge->create_table('job');
+ var_dump($res);
}
/**