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