From f7740e4d27ec7eeaeb141708d3001ee35c16b585 Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Sun, 12 Apr 2015 11:36:31 +0100 Subject: [PATCH] Issue #2469507 by chx: EntityRevisionsTest output makes it hard to discern what is causing the error --- core/modules/system/src/Tests/Entity/EntityRevisionsTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/modules/system/src/Tests/Entity/EntityRevisionsTest.php b/core/modules/system/src/Tests/Entity/EntityRevisionsTest.php index 8ce6e3df5e2..3009307f9d4 100644 --- a/core/modules/system/src/Tests/Entity/EntityRevisionsTest.php +++ b/core/modules/system/src/Tests/Entity/EntityRevisionsTest.php @@ -48,7 +48,7 @@ class EntityRevisionsTest extends WebTestBase { // All revisable entity variations have to have the same results. foreach (entity_test_entity_types(ENTITY_TEST_TYPES_REVISABLE) as $entity_type) { - $this->assertRevisions($entity_type); + $this->runRevisionsTests($entity_type); } } @@ -58,7 +58,7 @@ class EntityRevisionsTest extends WebTestBase { * @param string $entity_type * The entity type to run the tests with. */ - protected function assertRevisions($entity_type) { + protected function runRevisionsTests($entity_type) { // Create initial entity. $entity = entity_create($entity_type, array(