You are here

public function LoadTest::testLoad in Drupal PM (Project Management) 4.x

Same name in this branch
  1. 4.x modules/pm_issue/tests/src/Functional/LoadTest.php \Drupal\Tests\pm_issue\Functional\LoadTest::testLoad()
  2. 4.x modules/pm_story/tests/src/Functional/LoadTest.php \Drupal\Tests\pm_story\Functional\LoadTest::testLoad()
  3. 4.x modules/pm_note/tests/src/Functional/LoadTest.php \Drupal\Tests\pm_note\Functional\LoadTest::testLoad()
  4. 4.x modules/pm_feature/tests/src/Functional/LoadTest.php \Drupal\Tests\pm_feature\Functional\LoadTest::testLoad()
  5. 4.x modules/pm_timetracking/tests/src/Functional/LoadTest.php \Drupal\Tests\pm_timetracking\Functional\LoadTest::testLoad()
  6. 4.x modules/pm_persona/tests/src/Functional/LoadTest.php \Drupal\Tests\pm_persona\Functional\LoadTest::testLoad()
  7. 4.x modules/pm_presets/tests/src/Functional/LoadTest.php \Drupal\Tests\pm_presets\Functional\LoadTest::testLoad()
  8. 4.x modules/pm_epic/tests/src/Functional/LoadTest.php \Drupal\Tests\pm_epic\Functional\LoadTest::testLoad()
  9. 4.x modules/pm_sub_task/tests/src/Functional/LoadTest.php \Drupal\Tests\pm_sub_task\Functional\LoadTest::testLoad()
  10. 4.x modules/pm_invoice/tests/src/Functional/LoadTest.php \Drupal\Tests\pm_invoice\Functional\LoadTest::testLoad()
  11. 4.x modules/pm_expense/tests/src/Functional/LoadTest.php \Drupal\Tests\pm_expense\Functional\LoadTest::testLoad()
  12. 4.x modules/pm_organization/tests/src/Functional/LoadTest.php \Drupal\Tests\pm_organization\Functional\LoadTest::testLoad()
  13. 4.x modules/pm_project/tests/src/Functional/LoadTest.php \Drupal\Tests\pm_project\Functional\LoadTest::testLoad()
  14. 4.x modules/pm_board/tests/src/Functional/LoadTest.php \Drupal\Tests\pm_board\Functional\LoadTest::testLoad()

Tests that the home page loads with a 200 response.

File

modules/pm_issue/tests/src/Functional/LoadTest.php, line 41

Class

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

Namespace

Drupal\Tests\pm_issue\Functional

Code

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