aboutsummaryrefslogtreecommitdiff
path: root/tests/jsonapi/NewsCreateTest.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/NewsCreateTest.php
parentb7dcb67da285cd25122a59dd342ca78400450ff2 (diff)
fix errors in tests, fixes #1309
Closes #1309 Merge request studip/studip!805
Diffstat (limited to 'tests/jsonapi/NewsCreateTest.php')
-rw-r--r--tests/jsonapi/NewsCreateTest.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/jsonapi/NewsCreateTest.php b/tests/jsonapi/NewsCreateTest.php
index eaf9dfd..b943c3f 100644
--- a/tests/jsonapi/NewsCreateTest.php
+++ b/tests/jsonapi/NewsCreateTest.php
@@ -47,7 +47,6 @@ class NewsCreateTest extends \Codeception\Test\Unit
$resourceObject = $document->primaryResource();
$this->tester->assertNotNull($resourceObject->attribute('title'));
$this->tester->assertNotNull($resourceObject->attribute('content'));
- $newsId = $news->id;
}
public function testShouldNotStudipNewsCreate()
@@ -116,7 +115,6 @@ class NewsCreateTest extends \Codeception\Test\Unit
$resourceObject = $document->primaryResource();
$this->tester->assertNotNull($resourceObject->attribute('title'));
$this->tester->assertNotNull($resourceObject->attribute('content'));
- $newsId = $news->id;
}
public function testShouldNotCourseNewsCreate()
@@ -160,7 +158,6 @@ class NewsCreateTest extends \Codeception\Test\Unit
$resourceObject = $document->primaryResource();
$this->tester->assertNotNull($resourceObject->attribute('title'));
$this->tester->assertNotNull($resourceObject->attribute('content'));
- $newsId = $news->id;
}
public function testShouldNotUserNewsCreate()