forked from Wavyzz/dolibarr
wip
This commit is contained in:
@@ -58,7 +58,7 @@ class FormAdminTest extends PHPUnit_Framework_TestCase
|
||||
*
|
||||
* @return FactureTest
|
||||
*/
|
||||
function __construct()
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
|
||||
@@ -75,7 +75,7 @@ class FormAdminTest extends PHPUnit_Framework_TestCase
|
||||
}
|
||||
|
||||
// Static methods
|
||||
public static function setUpBeforeClass()
|
||||
public static function setUpBeforeClass()
|
||||
{
|
||||
global $conf,$user,$langs,$db;
|
||||
$db->begin(); // This is to have all actions inside a transaction even if test launched without suite.
|
||||
@@ -111,9 +111,9 @@ class FormAdminTest extends PHPUnit_Framework_TestCase
|
||||
/**
|
||||
* End phpunit tests
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function tearDown()
|
||||
* @return void
|
||||
*/
|
||||
protected function tearDown()
|
||||
{
|
||||
print __METHOD__."\n";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user