Skip to content

Commit

Permalink
Fixing issues with tests, and adding another test. Refs GH-57
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed May 10, 2011
1 parent 50ec7e6 commit e53407c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cake/tests/cases/libs/view/helpers/form.test.php
Expand Up @@ -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);
}

/**
Expand Down

0 comments on commit e53407c

Please sign in to comment.