Remove teardownafter, setup and teardown method in phpunit test

This commit is contained in:
Laurent Destailleur
2024-02-17 04:12:42 +01:00
parent f9f549ef26
commit 4bfbbff447
2 changed files with 2 additions and 42 deletions

View File

@@ -94,46 +94,6 @@ class ActionCommTest extends CommonClassTest
print __METHOD__."\n";
}
/**
* tearDownAfterClass
*
* @return void
*/
public static function tearDownAfterClass(): void
{
global $conf,$user,$langs,$db;
$db->rollback();
print __METHOD__."\n";
}
/**
* Init phpunit tests
*
* @return void
*/
protected function setUp(): void
{
global $conf,$user,$langs,$db;
$conf=$this->savconf;
$user=$this->savuser;
$langs=$this->savlangs;
$db=$this->savdb;
print __METHOD__."\n";
//print $db->getVersion()."\n";
}
/**
* End phpunit tests
*
* @return void
*/
protected function tearDown(): void
{
print __METHOD__."\n";
}
/**
* testActionCommCreate
*