3 namespace Drupal\Tests\migrate_plus\Functional;
6 use Drupal\Tests\BrowserTestBase;
9 * Simple test to ensure that main page loads with module enabled.
13 class LoadTest extends BrowserTestBase {
20 public static $modules = [
23 'migrate_example_advanced',
27 * A user with permission to administer site configuration.
29 * @var \Drupal\user\UserInterface
36 protected function setUp() {
38 $this->user = $this->drupalCreateUser(['administer site configuration']);
39 $this->drupalLogin($this->user);
43 * Tests that the home page loads with a 200 response.
45 public function testLoad() {
46 $this->drupalGet(Url::fromRoute('<front>'));
47 $this->assertSession()->statusCodeEquals(200);