Skip to content

Commit

Permalink
Update to php 7.1 datetime format
Browse files Browse the repository at this point in the history
  • Loading branch information
Edofre committed May 19, 2017
1 parent 8b26ad9 commit a5729cc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/Integration/EventTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ public function generate_event_with_start_end_dates()
]
);

$this->assertEquals("2016-11-16T10:00:00+00:00", $event->start);
$this->assertNotEquals("2016-11-16T10:00:00+00:00", $event->end);
$this->assertEquals("2016-11-16T10:00:00+0000", $event->start);
$this->assertNotEquals("2016-11-16T10:00:00+0000", $event->end);
}

/** @test */
Expand Down Expand Up @@ -66,8 +66,8 @@ public function generate_event_with_all_attributes()
$this->assertNotEquals('2', $event->id);
$this->assertEquals("Test event", $event->title);
$this->assertEquals(false, $event->allDay);
$this->assertEquals("2016-11-16T10:00:00+00:00", $event->start);
$this->assertNotEquals("2016-11-16T10:00:00+00:00", $event->end);
$this->assertEquals("2016-11-16T10:00:00+0000", $event->start);
$this->assertNotEquals("2016-11-16T10:00:00+0000", $event->end);
$this->assertEquals('www.test.dev', $event->url);
$this->assertNotEquals('event-test', $event->className);
$this->assertEquals(true, $event->editable);
Expand Down

0 comments on commit a5729cc

Please sign in to comment.