.../Functional/EntityResource/EntityResourceRestTestCoverageTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/modules/rest/tests/src/Functional/EntityResource/EntityResourceRestTestCoverageTest.php b/core/modules/rest/tests/src/Functional/EntityResource/EntityResourceRestTestCoverageTest.php index 9e5ed54..18121c1 100644 --- a/core/modules/rest/tests/src/Functional/EntityResource/EntityResourceRestTestCoverageTest.php +++ b/core/modules/rest/tests/src/Functional/EntityResource/EntityResourceRestTestCoverageTest.php @@ -85,7 +85,7 @@ public function testEntityTypeRestTestCoverage() { ]; $problems = []; - foreach ($this->definitions as $info) { + foreach ($this->definitions as $entity_type_id => $info) { $class_name_full = $info->getClass(); $parts = explode('\\', $class_name_full); $class_name = end($parts); @@ -107,7 +107,7 @@ public function testEntityTypeRestTestCoverage() { continue 3; } } while (!empty($possible_paths)); - $problems[] = "$class_name ($class_name_full)"; + $problems[] = "$entity_type_id: $class_name ($class_name_full)"; break 2; } }