You are here

protected function ThunderGqlsTestBase::setUp in Thunder 6.2.x

Overrides BrowserTestBase::setUp

File

modules/thunder_gqls/tests/src/Functional/ThunderGqlsTestBase.php, line 43

Class

ThunderGqlsTestBase
The base class for all functional Thunder GraphQl schema tests.

Namespace

Drupal\Tests\thunder_gqls\Functional

Code

protected function setUp() : void {
  parent::setUp();
  $this->graphqlUser = $this
    ->drupalCreateUser([
    'execute thunder_graphql arbitrary graphql requests',
    'access content',
    'access user profiles',
    'view media',
    'view published terms in channel',
    'view published terms in tags',
  ]);
  $this
    ->drupalLogin($this->graphqlUser);
}