From dd38309300a129cab17d090bf30ed82cc5b44334 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 29 Nov 2017 12:47:41 +0100 Subject: [PATCH] Include timestamp when creating event in selenium tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Čihař --- test/selenium/PmaSeleniumDbEventsTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/selenium/PmaSeleniumDbEventsTest.php b/test/selenium/PmaSeleniumDbEventsTest.php index 4fb7e58574..ff59f91d33 100644 --- a/test/selenium/PmaSeleniumDbEventsTest.php +++ b/test/selenium/PmaSeleniumDbEventsTest.php @@ -113,9 +113,9 @@ class PMA_SeleniumDbEventsTest extends PMA_SeleniumBase $this->select($this->byName("item_interval_field")) ->selectOptionByLabel("MINUTE_SECOND"); - $this->byName("item_starts")->value(date('Y-m-d', strtotime('-1 day')) . ' '); + $this->byName("item_starts")->value(date('Y-m-d', strtotime('-1 day')) . ' 00:00:00'); - $this->byName("item_ends")->value(date('Y-m-d', strtotime('+1 day')) . ' '); + $this->byName("item_ends")->value(date('Y-m-d', strtotime('+1 day')) . ' 00:00:00'); $ele = $this->waitForElement('byName', "item_interval_value"); $ele->value('1');