Skip to content
Browse files

Fixing issues with tests, and adding another test. Refs GH-57

  • Loading branch information...
1 parent 50ec7e6 commit e53407c5954c91055039e4bb41148cc93b722ce6 @markstory markstory committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 cake/tests/cases/libs/view/helpers/form.test.php
View
6 cake/tests/cases/libs/view/helpers/form.test.php
@@ -1932,9 +1932,9 @@ function testInputTime() {
'type' => 'time',
'selected' => '18:15'
));
-
- $this->assertPattern('#<option value="6"[^>]*>6</option>#', $result[1]);
- $this->assertPattern('#<option value="15"[^>]*>15</option>#', $result[1]);
+ $this->assertPattern('#<option value="06"[^>]*>6</option>#', $result);
+ $this->assertPattern('#<option value="15"[^>]*>15</option>#', $result);
+ $this->assertPattern('#<option value="pm"[^>]*>pm</option>#', $result);
}
/**

0 comments on commit e53407c

Please sign in to comment.
Something went wrong with that request. Please try again.