-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
82d02cb
commit 8706260
Showing
12 changed files
with
111 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,7 +58,7 @@ public function testCreateCalendarEmail(): void | |
new DownloadFileRequest(self::$folder . "/" . $emailFile, self::$storage) | ||
); | ||
$downloadedContent = $downloaded->fread($downloaded->getSize()); | ||
$this->assertRegExp("/[email protected]/", $downloadedContent); | ||
$this->assertMatchesRegularExpression("/[email protected]/", $downloadedContent); | ||
} | ||
|
||
/** | ||
|
@@ -76,7 +76,7 @@ public function testCalendarConverter(): void | |
//ICS is a text format. We can read it to a string and check that it | ||
//contains specified location as a substring: | ||
$fileContent = $ics->fread($ics->getSize()); | ||
$this->assertRegExp("/" . $calendarDto->getLocation() . "/", $fileContent); | ||
$this->assertMatchesRegularExpression("/" . $calendarDto->getLocation() . "/", $fileContent); | ||
//We can also convert the file back to a CalendarDto | ||
$dto = $api->calendar()->fromFile(new CalendarFromFileRequest($ics)); | ||
$this->assertEquals($calendarDto->getLocation(), $dto->getLocation()); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters