summaryrefslogtreecommitdiff
path: root/tests/app/Module/ClippingsCartModuleTest.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2015-03-08 21:51:25 +0000
committerGreg Roach <fisharebest@gmail.com>2015-03-08 22:07:52 +0000
commit3763c3f2dff6a4360b7b8810b6250e372dded805 (patch)
tree046a45176254e03242ac356231a42513eae2ec3d /tests/app/Module/ClippingsCartModuleTest.php
parent4a9080d850003171353a442eafcc6a1ff344631b (diff)
downloadwebtrees-3763c3f2dff6a4360b7b8810b6250e372dded805.tar.gz
webtrees-3763c3f2dff6a4360b7b8810b6250e372dded805.tar.bz2
webtrees-3763c3f2dff6a4360b7b8810b6250e372dded805.zip
Create test harnesses for modules
Diffstat (limited to 'tests/app/Module/ClippingsCartModuleTest.php')
-rw-r--r--tests/app/Module/ClippingsCartModuleTest.php41
1 files changed, 41 insertions, 0 deletions
diff --git a/tests/app/Module/ClippingsCartModuleTest.php b/tests/app/Module/ClippingsCartModuleTest.php
new file mode 100644
index 0000000000..6c0cdbb7cd
--- /dev/null
+++ b/tests/app/Module/ClippingsCartModuleTest.php
@@ -0,0 +1,41 @@
+<?php
+namespace Fisharebest\Webtrees;
+
+/**
+ * webtrees: online genealogy
+ * Copyright (C) 2015 webtrees development team
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+use PHPUnit_Framework_TestCase;
+
+/**
+ * Test harness for the class ClippingsCartModule
+ */
+class ClippingsCartModuleTest extends PHPUnit_Framework_TestCase {
+ /**
+ * Prepare the environment for these tests
+ *
+ * @return void
+ */
+ public function setUp() {
+ }
+
+ /**
+ * Test that the class exists
+ *
+ * @return void
+ */
+ public function testClassExists() {
+ $this->assertTrue(class_exists(__NAMESPACE__ . '\ClippingsCartModule'));
+ }
+}