Permalink
Browse files

Fix coding standard errors

  • Loading branch information...
1 parent 084636b commit fa5ccf46d0f3041444e0baea12060927a2bd0db7 @ADmad ADmad committed Nov 3, 2012
@@ -215,7 +215,7 @@ public function dispatch() {
return $Shell->main();
}
}
-
+
throw new MissingShellMethodException(array('shell' => $shell, 'method' => $command));
}
@@ -383,7 +383,6 @@ public function testScopedLoggingBC() {
CakeLog::drop('shops');
}
-
public function testScopedLoggingExclusive() {
$this->_deleteLogs();
@@ -178,7 +178,6 @@ public function testIsEmptyAllowed() {
* @return void
*/
public function testCheckRequiredWhenRequiredAndAllowEmpty() {
-
$Rule = $this->getMock('CakeValidationRule', array('isRequired'));
$Rule->expects($this->any())
->method('isRequired')
@@ -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");
-
}
+
}
@@ -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(

0 comments on commit fa5ccf4

Please sign in to comment.