diff --git a/tests/Drivers/AbstractDriverIntegrationTest.php b/tests/Drivers/AbstractDriverIntegrationTest.php index 145c09e..cdfebee 100644 --- a/tests/Drivers/AbstractDriverIntegrationTest.php +++ b/tests/Drivers/AbstractDriverIntegrationTest.php @@ -20,14 +20,7 @@ abstract class AbstractDriverIntegrationTest extends TestCase public function testCreateTable() { $factory = $this->createFactory(); - //should work the first time - $out = $factory->createTable(); - if (!$out) { - var_dump($factory->errorInfo()); - } - $this->assertTrue($out); - //but not the second time, because it already exists - $this->assertFalse($factory->createTable()); + $factory->createTable(); //table should exist and have zero rows $this->assertEquals(0, $this->getConnection()->getRowCount(static::TEST_TABLE)); } diff --git a/tests/Drivers/AbstractDriverTest.php b/tests/Drivers/AbstractDriverTest.php index 2ecb917..6ab2470 100644 --- a/tests/Drivers/AbstractDriverTest.php +++ b/tests/Drivers/AbstractDriverTest.php @@ -48,7 +48,6 @@ abstract class AbstractDriverTest extends TestCase $res = $driver->createTable('testCreateTable', $this->virtualColumns); $this->assertTrue($res); $this->assertEquals(0, $this->getConnection()->getRowCount('testCreateTable')); - $this->assertFalse($driver->createTable('testCreateTable', $this->virtualColumns)); } public function testInsert()