Skip to content
Permalink
Browse files

Fix failing tests.

  • Loading branch information...
markstory committed Feb 26, 2016
1 parent 9f439c9 commit d24fa9685976c73421df985ae1e7670e54b16b37
@@ -497,7 +497,7 @@ public function truncateTableSql(Table $table)
if (in_array($column['type'], ['integer', 'biginteger'])) {
$queries[] = sprintf(
"DBCC CHECKIDENT('%s', RESEED, 0)",
$name
$table->name()
);
}
}
@@ -841,7 +841,7 @@ public function testTruncateSql()
$result = $table->truncateSql($connection);
$this->assertCount(2, $result);
$this->assertEquals('DELETE FROM [schema_articles]', $result[0]);
$this->assertEquals('DBCC CHECKIDENT([schema_articles], RESEED, 0)', $result[1]);
$this->assertEquals("DBCC CHECKIDENT('schema_articles', RESEED, 0)", $result[1]);
}
/**

0 comments on commit d24fa96

Please sign in to comment.
You can’t perform that action at this time.