From 78ea4da6816b041f04c784cd93326336a246ec70 Mon Sep 17 00:00:00 2001 From: Majna Date: Sat, 20 Apr 2013 17:51:50 +0200 Subject: [PATCH] Add test for time input with interval on first hour of the day --- lib/Cake/Test/Case/View/Helper/FormHelperTest.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/Cake/Test/Case/View/Helper/FormHelperTest.php b/lib/Cake/Test/Case/View/Helper/FormHelperTest.php index 185f6b863..c566a7b2b 100644 --- a/lib/Cake/Test/Case/View/Helper/FormHelperTest.php +++ b/lib/Cake/Test/Case/View/Helper/FormHelperTest.php @@ -2347,6 +2347,16 @@ class FormHelperTest extends CakeTestCase { $this->assertContains('', $result); $this->assertContains('', $result); $this->assertContains('', $result); + + $result = $this->Form->input('Model.start_time', array( + 'type' => 'time', + 'timeFormat' => '12', + 'interval' => 10, + 'selected' => '2013-05-19 00:33:00' + )); + $this->assertContains('', $result); + $this->assertContains('', $result); + $this->assertContains('', $result); } /**