Adjust test to new API
Also mark as incomplete tests which really did not test anything. Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
parent
09e15add26
commit
1f669982f8
@ -116,6 +116,7 @@ class PMA_DBI_Drizzle_Test extends PHPUnit_Framework_TestCase
|
||||
*/
|
||||
public function testSelectDb()
|
||||
{
|
||||
$this->markTestIncomplete('Not testing anything');
|
||||
//$link is empty
|
||||
$GLOBALS['userlink'] = null;
|
||||
$this->assertEquals(
|
||||
@ -136,12 +137,12 @@ class PMA_DBI_Drizzle_Test extends PHPUnit_Framework_TestCase
|
||||
//PHP's 'mysql' extension does not support multi_queries
|
||||
$this->assertEquals(
|
||||
false,
|
||||
$this->object->moreResults()
|
||||
$this->object->moreResults(null)
|
||||
);
|
||||
//PHP's 'mysql' extension does not support multi_queries
|
||||
$this->assertEquals(
|
||||
false,
|
||||
$this->object->nextResult()
|
||||
$this->object->nextResult(null)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@ -252,6 +252,7 @@ class PMA_DBI_Mysql_Test extends PHPUnit_Framework_TestCase
|
||||
*/
|
||||
public function testSelectDb()
|
||||
{
|
||||
$this->markTestIncomplete('Not testing anything');
|
||||
//$link is empty
|
||||
$GLOBALS['userlink'] = null;
|
||||
$this->assertEquals(
|
||||
@ -272,12 +273,12 @@ class PMA_DBI_Mysql_Test extends PHPUnit_Framework_TestCase
|
||||
//PHP's 'mysql' extension does not support multi_queries
|
||||
$this->assertEquals(
|
||||
false,
|
||||
$this->object->moreResults()
|
||||
$this->object->moreResults(null)
|
||||
);
|
||||
//PHP's 'mysql' extension does not support multi_queries
|
||||
$this->assertEquals(
|
||||
false,
|
||||
$this->object->nextResult()
|
||||
$this->object->nextResult(null)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@ -230,6 +230,7 @@ class PMA_DBI_Mysqli_Test extends PHPUnit_Framework_TestCase
|
||||
*/
|
||||
public function testSelectDb()
|
||||
{
|
||||
$this->markTestIncomplete('Not testing anything');
|
||||
//$link is empty
|
||||
$GLOBALS['userlink'] = null;
|
||||
$this->assertEquals(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user