You are here

protected function FormsTest::setUp in JSON Web Token Authentication (JWT) 8

Overrides BrowserTestBase::setUp

File

modules/users_jwt/tests/src/Functional/FormsTest.php, line 45

Class

FormsTest
Simple test to ensure that user pages and forms work.

Namespace

Drupal\Tests\users_jwt\Functional

Code

protected function setUp() {
  parent::setUp();
  $this
    ->drupalPlaceBlock('local_actions_block');
  $this->adminUser = $this
    ->drupalCreateUser([
    'administer site configuration',
    'administer users',
  ]);
  $this->user = $this
    ->drupalCreateUser([
    'access content',
  ]);
  $this
    ->drupalLogin($this->user);
}