removing defunct tests
This commit is contained in:
parent
d99c09e575
commit
a452a5f90b
2 changed files with 1 additions and 9 deletions
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue