You are here

public function MultigraphWebTest::testMultigraphForm in Monitoring 8

Configures test base and executes test cases.

File

modules/multigraph/tests/src/Functional/MultigraphWebTest.php, line 45
Contains \Drupal\monitoring_multigraph\Tests\MultigraphWebTest

Class

MultigraphWebTest
Tests the Multigraph forms (add/edit/delete).

Namespace

Drupal\Tests\monitoring_multigraph\Functional

Code

public function testMultigraphForm() {

  // Create and log in our user.
  $this->adminUser = $this
    ->drupalCreateUser([
    'administer monitoring',
  ]);
  $this
    ->drupalLogin($this->adminUser);
  $this
    ->doTestMultigraphAdd();
  $this
    ->doTestMultigraphEdit();
  $this
    ->doTestMultigraphDelete();
}