Add tests for #7428

This commit is contained in:
mark_story 2015-09-21 21:39:51 -04:00
parent 9208a0857e
commit c14d1ffe93

View file

@ -4130,4 +4130,17 @@ SQL;
$this->assertEquals("'a'", $result); $this->assertEquals("'a'", $result);
} }
/**
* Test isConnected
*
* @return void
*/
public function testIsConnected() {
$this->Dbo->disconnect();
$this->assertFalse($this->Dbo->isConnected(), 'Not connected now.');
$this->Dbo->connect();
$this->assertTrue($this->Dbo->isConnected(), 'Should be connected.');
}
} }