X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=tests%2Fphpunit%2FHelloTest.php;h=d0926180dbf11811a9faff4e9bfb138f2293c549;hb=3a3c02959ef5d544627fee776e0eba866b82b305;hp=5098ec4f22b67a0edf46c32e51b228e207da513f;hpb=4c95b949e863281d990ffa2a3104415079e6352d;p=civicrm-core.git diff --git a/tests/phpunit/HelloTest.php b/tests/phpunit/HelloTest.php index 5098ec4f22..d0926180db 100644 --- a/tests/phpunit/HelloTest.php +++ b/tests/phpunit/HelloTest.php @@ -1,9 +1,9 @@ abc = "hello"; } - // called after the test functions are executed - // this function is defined in PHPUnit_TestCase and overwritten - // here - function tearDown() { + /** + * Called after the test functions are executed. + * this function is defined in PHPUnit_TestCase and overwritten + * here. + */ + public function tearDown() { // delete your instance unset($this->abc); } - // test the toString function - function testHello() { + /** + * test the toString function. + */ + public function testHello() { $result = $this->abc; $expected = 'hello'; $this->assertEquals($result, $expected); } -} +}