Skip to content

Commit 0ca88a3

Browse files
committed
fixed drupalCreateUser()
1 parent 6615915 commit 0ca88a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testing_example/tests/src/Functional/FrontPageLinkTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Drupal\Tests\BrowserTestBase;
66

77
/**
8-
* Tests core menu behavior.
8+
* Tests for the existence of links on the front page.
99
*
1010
* This test is meant to support a Drupalize.me tutorial.
1111
*
@@ -29,7 +29,7 @@ class FrontPageLinkTest extends BrowserTestBase {
2929
public function testAddContentMenuItem() {
3030
// Step 1: Log in a user who can add content.
3131
$this->drupalLogin(
32-
$this->drupalCreateUser([
32+
$this->createUser([
3333
'create article content',
3434
])
3535
);

0 commit comments

Comments
 (0)