diff options
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: |
