diff options
| author | Marcus Eibrink-Lunzenauer <lunzenauer@elan-ev.de> | 2021-08-20 06:11:05 +0000 |
|---|---|---|
| committer | Marcus Eibrink-Lunzenauer <lunzenauer@elan-ev.de> | 2021-08-20 06:11:05 +0000 |
| commit | 9b6bd7e747bd5ed44d169a8e1baee0e519d209d6 (patch) | |
| tree | 104c177e3c0d40d7471d7c081d61dec15cb1bab9 /tests/jsonapi/FileRefsDeleteTest.php | |
| parent | 8edcc69d26d73736b1bab92df28a00cd97ab8cf3 (diff) | |
Update der JSONAPI-Bibliotheken, fixes #80
Diffstat (limited to 'tests/jsonapi/FileRefsDeleteTest.php')
| -rw-r--r-- | tests/jsonapi/FileRefsDeleteTest.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/jsonapi/FileRefsDeleteTest.php b/tests/jsonapi/FileRefsDeleteTest.php index d1813a4..8b30e0d 100644 --- a/tests/jsonapi/FileRefsDeleteTest.php +++ b/tests/jsonapi/FileRefsDeleteTest.php @@ -41,9 +41,8 @@ class FileRefsDeleteTest extends \Codeception\Test\Unit $credentials = $this->tester->getCredentialsForTestDozent(); $missingId = 'missing-id'; - $this->tester->expectThrowable(RecordNotFoundException::class, function () use ($credentials, $missingId) { - $this->sendDeleteFileRef($credentials, $missingId); - }); + $response = $this->sendDeleteFileRef($credentials, $missingId); + $this->tester->assertSame(404, $response->getStatusCode()); } // **** helper functions **** |
