Skip to content
Snippets Groups Projects
Commit 424a739d 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

(cherry picked from commit 88062df2)
parent d9fbe99d
No related branches found
No related tags found
7 merge requests!1286issue #3240655 by elfakhar,!1285Issue #3240655 by elfakhar Aligne the active border,!541Issue #3123070: Fix 'PSR2.Classes.PropertyDeclaration.Underscore' coding standard,!463Resolve #3205025 "Class align center for media",!386Allow multiple vocabularies in the taxonomy filter,!308Issue #3118206: Remote media does not validate provider,!35Issue #3164686 WebAssert::addressEquals() and AssertLegacyTrait::assertUrl() fail to check the querystring
...@@ -29,7 +29,6 @@ public function testEnhancer() { ...@@ -29,7 +29,6 @@ public function testEnhancer() {
$defaults['_entity_form'] = 'entity_test.default'; $defaults['_entity_form'] = 'entity_test.default';
$defaults['_route_object'] = (new Route('/test', $defaults)); $defaults['_route_object'] = (new Route('/test', $defaults));
$new_defaults = $route_enhancer->enhance($defaults, $request); $new_defaults = $route_enhancer->enhance($defaults, $request);
$this->assertIsCallable($new_defaults['_controller']);
$this->assertEquals($defaults['_controller'], $new_defaults['_controller'], '_controller did not get overridden.'); $this->assertEquals($defaults['_controller'], $new_defaults['_controller'], '_controller did not get overridden.');
// Set _entity_form and ensure that the form is set. // 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.
Finish editing this message first!
Please register or to comment