removing defunct tests

This commit is contained in:
Joby 2020-08-26 10:02:24 -06:00
parent d99c09e575
commit a452a5f90b
2 changed files with 1 additions and 9 deletions

View file

@ -20,14 +20,7 @@ abstract class AbstractDriverIntegrationTest extends TestCase
public function testCreateTable() public function testCreateTable()
{ {
$factory = $this->createFactory(); $factory = $this->createFactory();
//should work the first time $factory->createTable();
$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());
//table should exist and have zero rows //table should exist and have zero rows
$this->assertEquals(0, $this->getConnection()->getRowCount(static::TEST_TABLE)); $this->assertEquals(0, $this->getConnection()->getRowCount(static::TEST_TABLE));
} }

View file

@ -48,7 +48,6 @@ abstract class AbstractDriverTest extends TestCase
$res = $driver->createTable('testCreateTable', $this->virtualColumns); $res = $driver->createTable('testCreateTable', $this->virtualColumns);
$this->assertTrue($res); $this->assertTrue($res);
$this->assertEquals(0, $this->getConnection()->getRowCount('testCreateTable')); $this->assertEquals(0, $this->getConnection()->getRowCount('testCreateTable'));
$this->assertFalse($driver->createTable('testCreateTable', $this->virtualColumns));
} }
public function testInsert() public function testInsert()