You are here

public function ConfigLoadTest::testConfigLoad in Zoom API 8

Same name and namespace in other branches
  1. 2.0.x tests/src/Functional/ConfigLoadTest.php \Drupal\Tests\zoomapi\Functional\ConfigLoadTest::testConfigLoad()

Tests that the config page loads with a 200 response.

File

tests/src/Functional/ConfigLoadTest.php, line 46

Class

ConfigLoadTest
Simple test to ensure that the config page loads.

Namespace

Drupal\Tests\zoomapi\Functional

Code

public function testConfigLoad() {
  $this
    ->drupalGet(Url::fromRoute('zoomapi.settings'));
  $this
    ->assertSession()
    ->statusCodeEquals(200);
}