diff options
| author | Greg Roach <fisharebest@gmail.com> | 2014-10-22 15:08:39 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2014-10-22 15:08:39 +0100 |
| commit | b8b18a48175a555520093aac42954d8fd7b90356 (patch) | |
| tree | abee503257bf9e311a52fffda19141c0d0c574b9 /tests/library/WT/ModuleTest.php | |
| parent | 2ac40a9970abf2db6c4828e892a4a5bc27c68a31 (diff) | |
| download | webtrees-b8b18a48175a555520093aac42954d8fd7b90356.tar.gz webtrees-b8b18a48175a555520093aac42954d8fd7b90356.tar.bz2 webtrees-b8b18a48175a555520093aac42954d8fd7b90356.zip | |
Basic tests for classes (simply check that they can be loaded/parsed).
Diffstat (limited to 'tests/library/WT/ModuleTest.php')
| -rw-r--r-- | tests/library/WT/ModuleTest.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/library/WT/ModuleTest.php b/tests/library/WT/ModuleTest.php index 7171855076..af9291df3f 100644 --- a/tests/library/WT/ModuleTest.php +++ b/tests/library/WT/ModuleTest.php @@ -22,10 +22,11 @@ class ModuleTest extends PHPUnit_Framework_TestCase { } /** - * Test FooBar + * Test that the class exists * * @return void */ - public function testFooBar() { + public function testClassExists() { + $this->assertTrue(class_exists('\WT_Module')); } } |
