Skip to content

Commit

Permalink
Fix coding standard errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Nov 3, 2012
1 parent 084636b commit fa5ccf4
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/Cake/Console/ShellDispatcher.php
Expand Up @@ -215,7 +215,7 @@ public function dispatch() {
return $Shell->main();
}
}

throw new MissingShellMethodException(array('shell' => $shell, 'method' => $command));
}

Expand Down
1 change: 0 additions & 1 deletion lib/Cake/Test/Case/Log/CakeLogTest.php
Expand Up @@ -383,7 +383,6 @@ public function testScopedLoggingBC() {
CakeLog::drop('shops');
}


public function testScopedLoggingExclusive() {
$this->_deleteLogs();

Expand Down
Expand Up @@ -178,7 +178,6 @@ public function testIsEmptyAllowed() {
* @return void
*/
public function testCheckRequiredWhenRequiredAndAllowEmpty() {

$Rule = $this->getMock('CakeValidationRule', array('isRequired'));
$Rule->expects($this->any())
->method('isRequired')
Expand All @@ -195,6 +194,6 @@ public function testCheckRequiredWhenRequiredAndAllowEmpty() {
$Rule->allowEmpty = false;

$this->assertTrue($Rule->checkRequired($fieldname, $data), "A null but present field should fail requirement check if allowEmpty is false");

}

}
1 change: 0 additions & 1 deletion lib/Cake/Test/Case/View/Helper/FormHelperTest.php
Expand Up @@ -5683,7 +5683,6 @@ public function testHour() {
$result = $this->Form->hour('Model.field', false, array('value' => '23'));
$this->assertContains('<option value="11" selected="selected">11</option>', $result);


$this->Form->request->data['Model']['field'] = '2006-10-10 00:12:32';
$result = $this->Form->hour('Model.field', true);
$expected = array(
Expand Down

0 comments on commit fa5ccf4

Please sign in to comment.