From b8b18a48175a555520093aac42954d8fd7b90356 Mon Sep 17 00:00:00 2001 From: Greg Roach Date: Wed, 22 Oct 2014 15:08:39 +0100 Subject: Basic tests for classes (simply check that they can be loaded/parsed). --- tests/library/WT/ModuleTest.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/library/WT/ModuleTest.php') 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')); } } -- cgit v1.3