Unverified Commit 6eafc1f3 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3093752 by bbrala, Wim Leers: Call to JSON:API test helper method...

Issue #3093752 by bbrala, Wim Leers: Call to JSON:API test helper method passes an argument that no longer exists

(cherry picked from commit 0ef58631)
parent c696aa1c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1878,7 +1878,7 @@ public function testPostIndividual() {
    $unparseable_request_body = '!{>}<';
    $parseable_valid_request_body = Json::encode($this->getPostDocument());
    /* $parseable_valid_request_body_2 = Json::encode($this->getNormalizedPostEntity()); */
    $parseable_invalid_request_body_missing_type = Json::encode($this->removeResourceTypeFromDocument($this->getPostDocument(), 'type'));
    $parseable_invalid_request_body_missing_type = Json::encode($this->removeResourceTypeFromDocument($this->getPostDocument()));
    if ($this->entity->getEntityType()->hasKey('label')) {
      $parseable_invalid_request_body = Json::encode($this->makeNormalizationInvalid($this->getPostDocument(), 'label'));
    }