summaryrefslogtreecommitdiff
path: root/modules/bhavika/department/tests/Controller/DepartmentControllerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/bhavika/department/tests/Controller/DepartmentControllerTest.php')
-rw-r--r--modules/bhavika/department/tests/Controller/DepartmentControllerTest.php39
1 files changed, 39 insertions, 0 deletions
diff --git a/modules/bhavika/department/tests/Controller/DepartmentControllerTest.php b/modules/bhavika/department/tests/Controller/DepartmentControllerTest.php
new file mode 100644
index 0000000..8d7a0be
--- /dev/null
+++ b/modules/bhavika/department/tests/Controller/DepartmentControllerTest.php
@@ -0,0 +1,39 @@
+<?php
+
+namespace Drupal\department\Tests;
+
+use Drupal\simpletest\WebTestBase;
+
+/**
+ * Provides automated tests for the department module.
+ */
+class DepartmentControllerTest extends WebTestBase {
+
+
+ /**
+ * {@inheritdoc}
+ */
+ public static function getInfo() {
+ return [
+ 'name' => "department DepartmentController's controller functionality",
+ 'description' => 'Test Unit for module department and controller DepartmentController.',
+ 'group' => 'Other',
+ ];
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function setUp() {
+ parent::setUp();
+ }
+
+ /**
+ * Tests department functionality.
+ */
+ public function testDepartmentController() {
+ // Check that the basic functions of module department.
+ $this->assertEquals(TRUE, TRUE, 'Test Unit Generated via Drupal Console.');
+ }
+
+}