From 973ac75b1994043360b8e62cd0c83461310ee728 Mon Sep 17 00:00:00 2001 From: oskkw Date: Wed, 3 Jul 2019 17:29:48 +0530 Subject: custom module added --- .../achivements/tests/src/Functional/LoadTest.php | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 modules/kalpesh/achivements/tests/src/Functional/LoadTest.php (limited to 'modules/kalpesh/achivements/tests/src/Functional/LoadTest.php') diff --git a/modules/kalpesh/achivements/tests/src/Functional/LoadTest.php b/modules/kalpesh/achivements/tests/src/Functional/LoadTest.php new file mode 100644 index 0000000..e50c1f8 --- /dev/null +++ b/modules/kalpesh/achivements/tests/src/Functional/LoadTest.php @@ -0,0 +1,46 @@ +user = $this->drupalCreateUser(['administer site configuration']); + $this->drupalLogin($this->user); + } + + /** + * Tests that the home page loads with a 200 response. + */ + public function testLoad() { + $this->drupalGet(Url::fromRoute('')); + $this->assertSession()->statusCodeEquals(200); + } + +} -- cgit