testPatchIndividual example

/** * {@inheritdoc} */
  public function testPatchIndividual() {
    // Ensure ::getModifiedEntityForPatchTesting() can pick an alternative value     // for the 'entity_id' field.     EntityTest::create([
      'name' => $this->randomString(),
      'type' => 'bar',
    ])->save();

    return parent::testPatchIndividual();
  }

}
Home | Imprint | This part of the site doesn't use cookies.