-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OEL-2115: Update to PHP 8.1 #209
Conversation
composer.json
Outdated
"drupal/description_list_field": "^1.0@alpha", | ||
"drupal/drupal-extension": "~4.1", | ||
"drupal/drupal-extension": "^5.0.0alpha1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We actually don't need Behat, so we can drop this and keep core-dev.
@@ -96,7 +96,7 @@ public function testEventPage(): void { | |||
|
|||
$link = $crawler->filter('.bcl-content-banner a[href="/build/node/' . $node->id() . '"]'); | |||
$this->assertCount(1, $link); | |||
$this->assertObjectNotHasAttribute('target', $link); | |||
$this->assertFalse(property_exists($link, 'target')); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't we just use ->getAttribute('href') ?
$this->assertSame('http://localhost/bg/%3Cnone%3E', $link_language->attr('href')); | ||
$this->assertEmpty($link_language->attr('href')); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Quite some weird old assertions here, was it a big bug?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's that change in drupal core rout matching, current_route_match for this Kernel test used to be <none>
and after the code change its just empty
Looks good. |
No description provided.