forked from Wavyzz/dolibarr
wip
This commit is contained in:
@@ -61,7 +61,7 @@ class PdfDocTest extends PHPUnit_Framework_TestCase
|
||||
*
|
||||
* @return PdfDocTest
|
||||
*/
|
||||
function __construct()
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
|
||||
@@ -77,8 +77,8 @@ class PdfDocTest extends PHPUnit_Framework_TestCase
|
||||
print "\n";
|
||||
}
|
||||
|
||||
// Static methods
|
||||
public static function setUpBeforeClass()
|
||||
// Static methods
|
||||
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.
|
||||
|
||||
Reference in New Issue
Block a user