From 4e585c030ed6b5ea73b77a696a78f8855d9a26d8 Mon Sep 17 00:00:00 2001 From: Mansimran7 Date: Tue, 2 Jul 2019 12:16:59 +0530 Subject: pushing all custom modules --- .../testimonials/tests/src/Functional/LoadTest.php | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 modules/mansimran/testimonials/tests/src/Functional/LoadTest.php (limited to 'modules/mansimran/testimonials/tests/src/Functional') diff --git a/modules/mansimran/testimonials/tests/src/Functional/LoadTest.php b/modules/mansimran/testimonials/tests/src/Functional/LoadTest.php new file mode 100644 index 0000000..6adde24 --- /dev/null +++ b/modules/mansimran/testimonials/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