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