diff -u b/core/modules/system/src/Tests/Entity/EntityQueryTest.php b/core/modules/system/src/Tests/Entity/EntityQueryTest.php --- b/core/modules/system/src/Tests/Entity/EntityQueryTest.php +++ b/core/modules/system/src/Tests/Entity/EntityQueryTest.php @@ -211,7 +211,6 @@ $this->assertResult(3, 7, 11, 15); // An entity might have either red or blue figure. - $query = $this->factory->get('entity_test_mulrev'); $this->queryResults = $this->factory->get('entity_test_mulrev') ->condition("$figures.color", array('blue', 'red'), 'IN') ->sort('id')