Improve PHPUNIT Test for phpunit7 and phpunit8
This commit is contained in:
parent
18add2977e
commit
1af12b7d46
5 changed files with 226 additions and 302 deletions
|
|
@ -16,7 +16,7 @@ class Acc_AccountTest extends TestCase
|
|||
* Sets up the fixture, for example, opens a network connection.
|
||||
* This method is called before a test is executed.
|
||||
*/
|
||||
protected function setUp()
|
||||
protected function setUp() :void
|
||||
{
|
||||
global $g_connection, $g_parameter, $g_user;
|
||||
$_REQUEST['gDossier']=DOSSIER;
|
||||
|
|
@ -27,14 +27,6 @@ class Acc_AccountTest extends TestCase
|
|||
$this->object=new Acc_Account($cn, '400');
|
||||
}
|
||||
|
||||
/**
|
||||
* Tears down the fixture, for example, closes a network connection.
|
||||
* This method is called after a test is executed.
|
||||
*/
|
||||
protected function tearDown()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Acc_Account::get_parameter
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue