Skip to content
Permalink
Browse files

Add tests for #7428

  • Loading branch information...
markstory committed Sep 22, 2015
1 parent 9208a08 commit c14d1ffe9390cb8f2f67146fe1045fff254a2340
Showing with 13 additions and 0 deletions.
  1. +13 −0 lib/Cake/Test/Case/Model/Datasource/Database/MysqlTest.php
@@ -4130,4 +4130,17 @@ public function testSetValue() {
$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.');
}
}

0 comments on commit c14d1ff

Please sign in to comment.
You can’t perform that action at this time.