summaryrefslogtreecommitdiffstats
path: root/tests/mocks/database/schema/skeleton.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mocks/database/schema/skeleton.php')
-rw-r--r--tests/mocks/database/schema/skeleton.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/mocks/database/schema/skeleton.php b/tests/mocks/database/schema/skeleton.php
index 47e8bfd35..6610d6b59 100644
--- a/tests/mocks/database/schema/skeleton.php
+++ b/tests/mocks/database/schema/skeleton.php
@@ -7,7 +7,7 @@ class Mock_Database_Schema_Skeleton {
*
* @return void
*/
- public static function create_tables($forge)
+ public static function create_tables($forge, $driver)
{
// Job Table
$forge->add_field(array(
@@ -24,8 +24,7 @@ class Mock_Database_Schema_Skeleton {
),
));
$forge->add_key('id', TRUE);
- $res = $forge->create_table('job');
- var_dump($res);
+ $forge->create_table('job', (strpos($driver, 'pgsql') === FALSE));
}
/**