Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit e53407c5954c91055039e4bb41148cc93b722ce6 1 parent 50ec7e6
@markstory markstory authored
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);
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.