diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2022-07-14 08:21:04 +0000 |
|---|---|---|
| committer | David Siegfried <david.siegfried@uni-vechta.de> | 2022-07-14 08:21:04 +0000 |
| commit | 24377df5463c10696077822a81a8fa20790a4749 (patch) | |
| tree | 98db3b55da25cf32d5ea3af46314077cc071e920 /tests/jsonapi/CourseNewsCreateTest.php | |
| parent | b7dcb67da285cd25122a59dd342ca78400450ff2 (diff) | |
fix errors in tests, fixes #1309
Closes #1309
Merge request studip/studip!805
Diffstat (limited to 'tests/jsonapi/CourseNewsCreateTest.php')
| -rw-r--r-- | tests/jsonapi/CourseNewsCreateTest.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/jsonapi/CourseNewsCreateTest.php b/tests/jsonapi/CourseNewsCreateTest.php index 83170be..5c832c1 100644 --- a/tests/jsonapi/CourseNewsCreateTest.php +++ b/tests/jsonapi/CourseNewsCreateTest.php @@ -1,6 +1,8 @@ <?php +use JsonApi\Routes\News\CourseNewsCreate; + class CourseNewsCreateTest extends \Codeception\Test\Unit { /** @@ -26,7 +28,7 @@ class CourseNewsCreateTest extends \Codeception\Test\Unit $date = time(); $expire = $date + 1 * 7 * 24 * 60 * 60; $credentials = $this->tester->getCredentialsForRoot(); - $response = $this->createCourseNews($credentials, $courseId, $title, $content, $date, $expire); + $this->createCourseNews($credentials, $courseId, $title, $content, $date, $expire); } //helpers: |
