Skip to content
Snippets Groups Projects

Try to combine some test methods.

Closed catch requested to merge issue/drupal-3468280:3468280-speed-up-jsonapi into 11.x
All threads resolved!
Files
7
@@ -382,7 +382,7 @@ protected static function getExpectedCollectionCacheability(AccountInterface $ac
/**
* {@inheritdoc}
*/
public function testPatchIndividual(): void {
protected function doTestPatchIndividual(): void {
// Ensure ::getModifiedEntityForPatchTesting() can pick an alternative value
// for the 'entity_id' field.
EntityTest::create([
@@ -390,7 +390,7 @@ public function testPatchIndividual(): void {
'type' => 'bar',
])->save();
parent::testPatchIndividual();
parent::doTestPatchIndividual();
}
}
Loading