You are here

public function PathautoUserWebTest::testUserEditing in Pathauto 8

Basic functional testing of Pathauto with users.

File

tests/src/Functional/PathautoUserWebTest.php, line 58

Class

PathautoUserWebTest
Tests pathauto user UI integration.

Namespace

Drupal\Tests\pathauto\Functional

Code

public function testUserEditing() {

  // There should be no Pathauto checkbox on user forms.
  $this
    ->drupalGet('user/' . $this->adminUser
    ->id() . '/edit');
  $this
    ->assertNoFieldById('path[0][pathauto]');
}