Skip to content
Snippets Groups Projects
Commit 88062df2 authored by catch's avatar catch
Browse files

Issue #3179013 by alexpott, andypost: EntityRouteEnhancerTest has a...

Issue #3179013 by alexpott, andypost: EntityRouteEnhancerTest has a meaningless assertion that breaks in PHP 8
parent e852eaf9
Branches
Tags
Loading
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment