From 424a739dbd0c69ca2731e0945d99f43fbb78a81d Mon Sep 17 00:00:00 2001 From: catch <catch@35733.no-reply.drupal.org> Date: Wed, 28 Oct 2020 08:06:01 +0000 Subject: [PATCH] Issue #3179013 by alexpott, andypost: EntityRouteEnhancerTest has a meaningless assertion that breaks in PHP 8 (cherry picked from commit 88062df2c60beef0a93ec7a9fa228d76ca131b57) --- .../Tests/Core/Entity/Enhancer/EntityRouteEnhancerTest.php | 1 - 1 file changed, 1 deletion(-) diff --git a/core/tests/Drupal/Tests/Core/Entity/Enhancer/EntityRouteEnhancerTest.php b/core/tests/Drupal/Tests/Core/Entity/Enhancer/EntityRouteEnhancerTest.php index 297628262cc8..7ede8bb2db24 100644 --- a/core/tests/Drupal/Tests/Core/Entity/Enhancer/EntityRouteEnhancerTest.php +++ b/core/tests/Drupal/Tests/Core/Entity/Enhancer/EntityRouteEnhancerTest.php @@ -29,7 +29,6 @@ public function testEnhancer() { $defaults['_entity_form'] = 'entity_test.default'; $defaults['_route_object'] = (new Route('/test', $defaults)); $new_defaults = $route_enhancer->enhance($defaults, $request); - $this->assertIsCallable($new_defaults['_controller']); $this->assertEquals($defaults['_controller'], $new_defaults['_controller'], '_controller did not get overridden.'); // Set _entity_form and ensure that the form is set. -- GitLab