mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Adding tests for GH-57
This commit is contained in:
parent
922595c77a
commit
877c874f49
1 changed files with 7 additions and 0 deletions
|
@ -1928,6 +1928,13 @@ class FormHelperTest extends CakeTestCase {
|
|||
$this->assertPattern('#<option value="15"[^>]*>15</option>#', $result[1]);
|
||||
$this->assertPattern('#<option value="30"[^>]*>30</option>#', $result[1]);
|
||||
|
||||
$result = $this->Form->input('Random.start_time', array(
|
||||
'type' => 'time',
|
||||
'selected' => '18:15'
|
||||
));
|
||||
|
||||
$this->assertPattern('#<option value="6"[^>]*>6</option>#', $result[1]);
|
||||
$this->assertPattern('#<option value="15"[^>]*>15</option>#', $result[1]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue