Commit ebcea4ec authored by catch's avatar catch
Browse files

Issue #3240183 by alexpott: \Drupal\Tests\editor\Functional\EditorAdminTest...

Issue #3240183 by alexpott: \Drupal\Tests\editor\Functional\EditorAdminTest fails on PHP 8.1 due to deprecations
parent 4de479c1
Loading
Loading
Loading
Loading
+1 −1
Changes for core/modules/editor/tests/src/Functional/EditorAdminTest.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -113,7 +113,7 @@ public function testDisableFormatWithEditor() {
    $this->container->get('module_installer')->install(['node']);
    $this->resetAll();
    // Create a new node type and attach the 'body' field to it.
    $node_type = NodeType::create(['type' => mb_strtolower($this->randomMachineName())]);
    $node_type = NodeType::create(['type' => mb_strtolower($this->randomMachineName()), 'name' => $this->randomString()]);
    $node_type->save();
    node_add_body_field($node_type, $this->randomString());