Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/LanguagesManager/tests/Integration/ModelTest.php')
-rw-r--r--plugins/LanguagesManager/tests/Integration/ModelTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/LanguagesManager/tests/Integration/ModelTest.php b/plugins/LanguagesManager/tests/Integration/ModelTest.php
index fb0cc94456..975e92021e 100644
--- a/plugins/LanguagesManager/tests/Integration/ModelTest.php
+++ b/plugins/LanguagesManager/tests/Integration/ModelTest.php
@@ -26,7 +26,7 @@ class ModelTest extends IntegrationTestCase
*/
protected $model;
- public function setUp()
+ public function setUp(): void
{
$this->model = new Model();
parent::setUp();
@@ -109,7 +109,7 @@ class ModelTest extends IntegrationTestCase
$tableNames = $this->getCurrentAvailableTableNames();
foreach ($expectedTables as $expectedTable) {
- $this->assertContains(Common::prefixTable($expectedTable), $tableNames);
+ self::assertTrue(in_array(Common::prefixTable($expectedTable), $tableNames));
}
}
@@ -118,7 +118,7 @@ class ModelTest extends IntegrationTestCase
$tableNames = $this->getCurrentAvailableTableNames();
foreach ($expectedTables as $expectedTable) {
- $this->assertNotContains(Common::prefixTable($expectedTable), $tableNames);
+ self::assertTrue(!in_array(Common::prefixTable($expectedTable), $tableNames));
}
}