You are here

public function CoffeeTest::setUp in Coffee 8

Overrides BrowserTestBase::setUp

File

tests/src/Functional/CoffeeTest.php, line 48

Class

CoffeeTest
Tests Coffee module functionality.

Namespace

Drupal\Tests\coffee\Functional

Code

public function setUp() {
  parent::setUp();
  $this->webUser = $this
    ->drupalCreateUser();
  $this->coffeeUser = $this
    ->drupalCreateUser([
    'access coffee',
  ]);
  $this->coffeeAdmin = $this
    ->drupalCreateUser([
    'administer coffee',
  ]);
}