Skip to content
Snippets Groups Projects
Commit 4bdfbffd authored by Patrick Kenny's avatar Patrick Kenny
Browse files

rename method

parent a9520134
No related branches found
No related tags found
1 merge request!27add unit test to confirm core functionality
...@@ -68,11 +68,11 @@ class JsonApiLinksFunctionalTest extends JsonApiFunctionalTestBase { ...@@ -68,11 +68,11 @@ class JsonApiLinksFunctionalTest extends JsonApiFunctionalTestBase {
} }
/** /**
* Tests the GET method. * Tests link removal.
*
* Inspired by testRead() in JsonApiFucntionalTest.
*/ */
public function testRead(): void { public function testLinkRemoval(): void {
// First, do testRead() from core's JSON:API and ensure that the output is
// exactly the same as core.
// JSON:API Links does not remove anything by default. // JSON:API Links does not remove anything by default.
$this->createDefaultContent(61, 5, TRUE, TRUE, static::IS_NOT_MULTILINGUAL, FALSE); $this->createDefaultContent(61, 5, TRUE, TRUE, static::IS_NOT_MULTILINGUAL, FALSE);
// Unpublish the last entity, so we can check access. // Unpublish the last entity, so we can check access.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment