Actually fix failing test, remove some older test skips

This commit is contained in:
Timothy Warren 2016-07-19 15:19:48 -04:00
parent 757b83797f
commit ac867c903a
3 changed files with 2 additions and 13 deletions

View File

@ -126,12 +126,6 @@ class FirebirdQBTest extends QBTest {
public function testResultErrors()
{
if (version_compare(PHP_VERSION, '7.0.0', '>='))
{
$this->markTestSkipped("Segfaults on this version of PHP");
}
$obj = self::$db->query('SELECT * FROM "create_test"');
// Test row count

View File

@ -136,11 +136,6 @@ class FirebirdTest extends DBtest {
public function testTruncate()
{
if (version_compare(PHP_VERSION, '7.0.0', '>='))
{
$this->markTestSkipped("Segfaults on this version of PHP");
}
self::$db->truncate('create_test');
$this->assertTrue(self::$db->affected_rows() > 0);

View File

@ -68,7 +68,7 @@ class MySQLQBTest extends QBTest {
// The important thing is that there is an array
// of results returned
$this->assertTrue(is_array($res));
$this->assertTrue(count($res) > 1);
$this->assertTrue(array_key_exists('table', $res));
$this->assertTrue(count(array_keys($res[0])) > 1);
$this->assertTrue(array_key_exists('table', $res[0]));
}
}