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