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

This commit is contained in:
mark_story 2011-05-09 22:22:35 -04:00
parent 50ec7e6fdf
commit e53407c595

View file

@ -1932,9 +1932,9 @@ class FormHelperTest extends CakeTestCase {
'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);
}
/**