You are here

public function LoadTest::testLoad in Opigno messaging 3.x

Same name and namespace in other branches
  1. 8 tests/src/Functional/LoadTest.php \Drupal\Tests\opigno_messaging\Functional\LoadTest::testLoad()

Tests that the home page loads with a 200 response.

File

tests/src/Functional/LoadTest.php, line 43

Class

LoadTest
Simple test to ensure that main page loads with module enabled.

Namespace

Drupal\Tests\opigno_messaging\Functional

Code

public function testLoad() {
  $this
    ->drupalGet(Url::fromRoute('<front>'));
  $this
    ->assertResponse(200);
}