You are here

public function MonitoringServicesTest::setUp in Monitoring 8

Overrides MonitoringTestBase::setUp

File

tests/src/Functional/MonitoringServicesTest.php, line 33

Class

MonitoringServicesTest
Tests for monitoring services.

Namespace

Drupal\Tests\monitoring\Functional

Code

public function setUp() {
  parent::setUp();
  $this->servicesAccount = $this
    ->drupalCreateUser(array(
    'restful get monitoring-sensor',
    'restful get monitoring-sensor-result',
  ));
}