public function LoadTest::testLoad in Font Awesome Iconpicker 8
Tests that the home page loads with a 200 response.
File
- src/
Tests/ LoadTest.php, line 46
Class
- LoadTest
- Simple test to ensure that main page loads with module enabled.
Namespace
Drupal\fontawesome_iconpicker\TestsCode
public function testLoad() {
$this
->drupalGet(Url::fromRoute('<front>'));
$this
->assertResponse(200);
}