Skip to content

Commit

Permalink
Fix CS
Browse files Browse the repository at this point in the history
  • Loading branch information
chinpei215 committed Jul 13, 2014
1 parent ace30fd commit ca93bbc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
5 changes: 4 additions & 1 deletion lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php
Expand Up @@ -33,6 +33,9 @@
*/
class MockPDO extends PDO {

/**
* Constructor.
*/
public function __construct() {
}

Expand Down Expand Up @@ -1416,7 +1419,7 @@ public function testInsertMultiId() {
/**
* Test defaultConditions()
*
* @return
* @return void
*/
public function testDefaultConditions() {
$this->loadFixtures('Article');
Expand Down
11 changes: 8 additions & 3 deletions lib/Cake/Test/Case/Model/ModelWriteTest.php
Expand Up @@ -6371,6 +6371,11 @@ public function testUpdateWithCalculation() {
$this->assertEquals(array(6, 4, 5, 2), $result);
}

/**
* testToggleBoolFields method
*
* @return void
*/
public function testToggleBoolFields() {
$this->loadFixtures('CounterCacheUser', 'CounterCachePost');
$Post = new CounterCachePost();
Expand Down Expand Up @@ -7266,7 +7271,7 @@ public function testClear() {
* Test that Model::save() doesn't generate a query with WHERE 1 = 1 on race condition.
*
* @link https://github.com/cakephp/cakephp/issues/3857
* @return
* @return void
*/
public function testSafeUpdateMode() {
$this->loadFixtures('User');
Expand Down Expand Up @@ -7303,8 +7308,8 @@ public function testSafeUpdateMode() {
/**
* Emulates race condition
*
* @param $event
* @return
* @param CakeEvent $event containing the Model
* @return void
*/
public function deleteMe($event) {
$Model = $event->subject;
Expand Down

0 comments on commit ca93bbc

Please sign in to comment.