diff options
author | Nitesh Kumar Sinha | 2019-07-03 16:10:15 +0530 |
---|---|---|
committer | GitHub | 2019-07-03 16:10:15 +0530 |
commit | b7d155a06ae52fcee0b66123b6ea36556336ea18 (patch) | |
tree | eb9c3b694095a62bba3e38e3693d76fb257c4fc8 /modules/esha/onlinecourse/tests/src/Functional/LoadTest.php | |
parent | 00865ae18f37f190fc6b5e81fe1d9a06c918b0b9 (diff) | |
parent | ba88b16a779c8be43a8e6db6c501b8548d962fa9 (diff) | |
download | acadmix_distribution-b7d155a06ae52fcee0b66123b6ea36556336ea18.tar.gz acadmix_distribution-b7d155a06ae52fcee0b66123b6ea36556336ea18.tar.bz2 acadmix_distribution-b7d155a06ae52fcee0b66123b6ea36556336ea18.zip |
Merge pull request #19 from eshadutta9/master
changes made and views added
Diffstat (limited to 'modules/esha/onlinecourse/tests/src/Functional/LoadTest.php')
-rw-r--r-- | modules/esha/onlinecourse/tests/src/Functional/LoadTest.php | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/modules/esha/onlinecourse/tests/src/Functional/LoadTest.php b/modules/esha/onlinecourse/tests/src/Functional/LoadTest.php deleted file mode 100644 index a25c263..0000000 --- a/modules/esha/onlinecourse/tests/src/Functional/LoadTest.php +++ /dev/null @@ -1,46 +0,0 @@ -<?php - -namespace Drupal\Tests\onlinecourse\Functional; - -use Drupal\Core\Url; -use Drupal\Tests\BrowserTestBase; - -/** - * Simple test to ensure that main page loads with module enabled. - * - * @group onlinecourse - */ -class LoadTest extends BrowserTestBase { - - /** - * Modules to enable. - * - * @var array - */ - public static $modules = ['onlinecourse']; - - /** - * A user with permission to administer site configuration. - * - * @var \Drupal\user\UserInterface - */ - protected $user; - - /** - * {@inheritdoc} - */ - protected function setUp() { - parent::setUp(); - $this->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('<front>')); - $this->assertSession()->statusCodeEquals(200); - } - -} |