You are here

public function ImprovedMultiSelectTests::testIfDrupalLoads in Improved Multi Select 8

Test if Drupal loads with module enabled.

File

src/Tests/Functional/ImprovedMultiSelectTests.php, line 50

Class

ImprovedMultiSelectTests
Class ImprovedMultiSelectTests.

Namespace

Drupal\improved_multi_select\Tests\Functional

Code

public function testIfDrupalLoads() {
  $this
    ->drupalGet('<front>');
  $this
    ->assertResponse(200);
  $user = $this
    ->drupalCreateUser([
    'administer site configuration',
  ]);
  $this
    ->drupalLogin($user);
  $this
    ->drupalGet('/admin/config/user-interface/ims');
  $this
    ->assertResponse(200);
  $this
    ->drupalLogout();
}