public function LoadTest::testLoad in Migrate Plus 8.4
Same name and namespace in other branches
- 8.5 tests/src/Functional/LoadTest.php \Drupal\Tests\migrate_plus\Functional\LoadTest::testLoad()
Tests that the home page loads with a 200 response.
File
- tests/
src/ Functional/ LoadTest.php, line 48
Class
- LoadTest
- Simple test to ensure that main page loads with module enabled.
Namespace
Drupal\Tests\migrate_plus\FunctionalCode
public function testLoad() {
$this
->drupalGet(Url::fromRoute('<front>'));
$this
->assertSession()
->statusCodeEquals(200);
}