X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=tests%2Fphpunit%2FHelloTest.php;h=d0926180dbf11811a9faff4e9bfb138f2293c549;hb=3a3c02959ef5d544627fee776e0eba866b82b305;hp=758759d002c43383e8daa779464fed631f6037c7;hpb=35598dc5bbdd980bc0d93e7348d844f519acd504;p=civicrm-core.git diff --git a/tests/phpunit/HelloTest.php b/tests/phpunit/HelloTest.php index 758759d002..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); } -} +}