Skip to content

Commit

Permalink
Include timestamp when creating event in selenium tests
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Čihař <michal@cihar.com>
  • Loading branch information
nijel committed Nov 29, 2017
1 parent 14e78f7 commit dd38309
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/selenium/PmaSeleniumDbEventsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@ public function testAddEvent()
$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');
Expand Down

0 comments on commit dd38309

Please sign in to comment.