aboutsummaryrefslogtreecommitdiff
path: root/tests/jsonapi/UserEventsIcalTest.php
diff options
context:
space:
mode:
authorMarcus Eibrink-Lunzenauer <lunzenauer@elan-ev.de>2021-08-20 06:11:05 +0000
committerMarcus Eibrink-Lunzenauer <lunzenauer@elan-ev.de>2021-08-20 06:11:05 +0000
commit9b6bd7e747bd5ed44d169a8e1baee0e519d209d6 (patch)
tree104c177e3c0d40d7471d7c081d61dec15cb1bab9 /tests/jsonapi/UserEventsIcalTest.php
parent8edcc69d26d73736b1bab92df28a00cd97ab8cf3 (diff)
Update der JSONAPI-Bibliotheken, fixes #80
Diffstat (limited to 'tests/jsonapi/UserEventsIcalTest.php')
-rw-r--r--tests/jsonapi/UserEventsIcalTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/jsonapi/UserEventsIcalTest.php b/tests/jsonapi/UserEventsIcalTest.php
index bf3d2ba..3d0a78a 100644
--- a/tests/jsonapi/UserEventsIcalTest.php
+++ b/tests/jsonapi/UserEventsIcalTest.php
@@ -39,7 +39,7 @@ class UserEventsIcalTest extends \Codeception\Test\Unit
$requestBuilder = $this->tester->createRequestBuilder($credentials);
$requestBuilder->setUri('/users/'.$credentials['id'].'/events.ics')->fetch();
- $response = $app($requestBuilder->getRequest(), new \Slim\Http\Response());
+ $response = $app->handle($requestBuilder->getRequest());
$this->tester->assertEquals(200, $response->getStatusCode());
$this->tester->assertStringContainsString('BEGIN:VEVENT', (string) $response->getBody());