From b1504ad3f57446d013eea3afe0d45c0cd7c98770 Mon Sep 17 00:00:00 2001 From: Deven Bansod Date: Wed, 26 Jul 2017 20:18:26 +0530 Subject: [PATCH] Use shorter strings hoping to avoid error in DbEvents addEvent Signed-off-by: Deven Bansod --- 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 3049a61f5c..ea1b952107 100644 --- a/test/selenium/PmaSeleniumDbEventsTest.php +++ b/test/selenium/PmaSeleniumDbEventsTest.php @@ -119,10 +119,10 @@ class PMA_SeleniumDbEventsTest extends PMA_SeleniumBase ->selectOptionByLabel("MINUTE_SECOND"); $this->byName("item_starts")->click(); - $this->keys(date('Y-m-d H:i:s', strtotime('-1 day'))); + $this->keys(date('Y-m-d', strtotime('-1 day'))); $this->byName("item_ends")->click(); - $this->keys(date('Y-m-d H:i:s', strtotime('+1 day'))); + $this->keys(date('Y-m-d', strtotime('+1 day'))); $ele = $this->waitForElement('byName', "item_interval_value"); $ele->value('1');