Skip to content

Commit

Permalink
Bug fix in test
Browse files Browse the repository at this point in the history
  • Loading branch information
danrwalker committed Jan 11, 2017
1 parent 37370b6 commit 0cd9e20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Core/Models/ICSCalendar.Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class ICSCalendar extends \PHPUnit_Framework_TestCase{
public function testCreate(){

$resCalendar = \Twist::ICS()->createCalendar();
$this->assertTrue(strstr($resCalendar->getRaw(), 'BEGIN:VCALENDAR'));
$this->assertTrue(strstr($resCalendar->getRaw(), 'BEGIN:VCALENDAR') !== false);

$resCalendar->prodID('test-id');
$this->assertTrue(strstr($resCalendar->getRaw(), 'PRODID') && strstr($resCalendar->getRaw(), 'test-id'));
Expand Down

0 comments on commit 0cd9e20

Please sign in to comment.