mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-25 21:34:12 +01:00
N°3091 Update PHPUnit to 8.5 : fix setUp and teardDown methods signatures
"Return type declaration must be compatible with parent" See https://phpunit.de/announcements/phpunit-8.html "Return Type of Template Methods"
This commit is contained in:
@@ -17,10 +17,10 @@ class DataLocalizerTest extends ItopDataTestCase
|
||||
const USE_TRANSACTION = false;
|
||||
const TEST_CSV_RESULT = 'DataLocalizerTest.csv';
|
||||
|
||||
public function setUp()
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
require_once(APPROOT.'application/startup.inc.php');
|
||||
|
||||
ApplicationContext::SetPluginProperty('QueryLocalizerPlugin', 'language_code', 'FR FR');
|
||||
|
||||
SetupUtils::builddir(APPROOT.'log/test/OQLToSQL');
|
||||
|
||||
Reference in New Issue
Block a user