Loading core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalTest.php +0 −2 Original line number Diff line number Diff line Loading @@ -639,7 +639,6 @@ public function testWrite() { 'auth' => [$this->user->getAccountName(), $this->user->pass_raw], 'headers' => ['Accept' => 'application/vnd.api+json'], ]); $created_response = Json::decode($response->getBody()->__toString()); $this->assertEquals(415, $response->getStatusCode()); // 4. Article with a duplicate ID. Loading @@ -666,7 +665,6 @@ public function testWrite() { 'auth' => [$this->user->getAccountName(), $this->user->pass_raw], 'headers' => ['Content-Type' => 'application/vnd.api+json'], ]); $created_response = Json::decode($response->getBody()->__toString()); $this->assertEquals(404, $response->getStatusCode()); // 6. Decoding error. $response = $this->request('POST', $collection_url, [ Loading Loading
core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalTest.php +0 −2 Original line number Diff line number Diff line Loading @@ -639,7 +639,6 @@ public function testWrite() { 'auth' => [$this->user->getAccountName(), $this->user->pass_raw], 'headers' => ['Accept' => 'application/vnd.api+json'], ]); $created_response = Json::decode($response->getBody()->__toString()); $this->assertEquals(415, $response->getStatusCode()); // 4. Article with a duplicate ID. Loading @@ -666,7 +665,6 @@ public function testWrite() { 'auth' => [$this->user->getAccountName(), $this->user->pass_raw], 'headers' => ['Content-Type' => 'application/vnd.api+json'], ]); $created_response = Json::decode($response->getBody()->__toString()); $this->assertEquals(404, $response->getStatusCode()); // 6. Decoding error. $response = $this->request('POST', $collection_url, [ Loading