aboutsummaryrefslogtreecommitdiff
path: root/tests/jsonapi/CommentsDeleteTest.php
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2022-07-14 08:21:04 +0000
committerDavid Siegfried <david.siegfried@uni-vechta.de>2022-07-14 08:21:04 +0000
commit24377df5463c10696077822a81a8fa20790a4749 (patch)
tree98db3b55da25cf32d5ea3af46314077cc071e920 /tests/jsonapi/CommentsDeleteTest.php
parentb7dcb67da285cd25122a59dd342ca78400450ff2 (diff)
fix errors in tests, fixes #1309
Closes #1309 Merge request studip/studip!805
Diffstat (limited to 'tests/jsonapi/CommentsDeleteTest.php')
-rw-r--r--tests/jsonapi/CommentsDeleteTest.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/jsonapi/CommentsDeleteTest.php b/tests/jsonapi/CommentsDeleteTest.php
index 9e7151c..464cb96 100644
--- a/tests/jsonapi/CommentsDeleteTest.php
+++ b/tests/jsonapi/CommentsDeleteTest.php
@@ -1,6 +1,8 @@
<?php
+use JsonApi\Routes\Blubber\CommentsDelete;
+
class CommentsDeleteTest extends \Codeception\Test\Unit
{
/**
@@ -21,7 +23,7 @@ class CommentsDeleteTest extends \Codeception\Test\Unit
{
$commentId = '372d6c3bd41cd503c022961e73698d4c';
$credentials = $this->tester->getCredentialsForRoot();
- $response = $this->deleteComment($credentials, $newsId);
+ $this->deleteComment($credentials, $commentId);
}
private function deleteComment(array $credentials, $commentId)