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/FileRefsShowTest.php | |
| parent | 8edcc69d26d73736b1bab92df28a00cd97ab8cf3 (diff) | |
Update der JSONAPI-Bibliotheken, fixes #80
Diffstat (limited to 'tests/jsonapi/FileRefsShowTest.php')
| -rw-r--r-- | tests/jsonapi/FileRefsShowTest.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/jsonapi/FileRefsShowTest.php b/tests/jsonapi/FileRefsShowTest.php index 10dc035..6fcca0a 100644 --- a/tests/jsonapi/FileRefsShowTest.php +++ b/tests/jsonapi/FileRefsShowTest.php @@ -45,9 +45,8 @@ class FileRefsShowTest extends \Codeception\Test\Unit { $credentials = $this->tester->getCredentialsForTestDozent(); - $this->tester->expectThrowable(RecordNotFoundException::class, function () use ($credentials) { - $this->sendShowFileRef($credentials, 'missing-id'); - }); + $response = $this->sendShowFileRef($credentials, 'missing-id'); + $this->tester->assertSame(404, $response->getStatusCode()); } // **** helper functions **** |
