From 973ac75b1994043360b8e62cd0c83461310ee728 Mon Sep 17 00:00:00 2001 From: oskkw Date: Wed, 3 Jul 2019 17:29:48 +0530 Subject: custom module added --- .../recruiters/tests/src/Functional/LoadTest.php | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 modules/kalpesh/recruiters/tests/src/Functional/LoadTest.php (limited to 'modules/kalpesh/recruiters/tests/src') diff --git a/modules/kalpesh/recruiters/tests/src/Functional/LoadTest.php b/modules/kalpesh/recruiters/tests/src/Functional/LoadTest.php new file mode 100644 index 0000000..9764cfb --- /dev/null +++ b/modules/kalpesh/recruiters/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