Skip to content
Snippets Groups Projects
Commit e49f5783 authored by Project Update Bot's avatar Project Update Bot Committed by Chris Eastwood
Browse files

Issue #3287612 by Project Update Bot: Automated Drupal 10 compatibility fixes for FlexField

parent 99a23586
No related branches found
No related tags found
No related merge requests found
name: Flex Field
type: module
description: Create simple, but flexible, multivalue fields without the hassle of entity references.
core_version_requirement: ^8 || ^9
core_version_requirement: ^8 || ^9 || ^10
package: Field
dependencies:
- field
......
......@@ -19,7 +19,7 @@ class LoadTest extends BrowserTestBase {
*
* @var array
*/
public static $modules = ['flexfield'];
protected static $modules = ['flexfield'];
/**
* A user with permission to administer site configuration.
......@@ -31,7 +31,7 @@ class LoadTest extends BrowserTestBase {
/**
* {@inheritdoc}
*/
protected function setUp() {
protected function setUp(): void {
parent::setUp();
$this->user = $this->drupalCreateUser(['administer site configuration']);
$this->drupalLogin($this->user);
......@@ -42,7 +42,7 @@ class LoadTest extends BrowserTestBase {
*/
public function testLoad() {
$this->drupalGet(Url::fromRoute('<front>'));
$this->assertResponse(200);
$this->assertSession()->statusCodeEquals(200);
}
}
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