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
path: root/tests
diff options
context:
space:
mode:
authorsgiehl <stefan@matomo.org>2020-08-10 16:16:00 +0300
committersgiehl <stefan@matomo.org>2020-08-10 16:16:00 +0300
commit35d8e33bab707d9ebffd5fab5d0758cb0019c241 (patch)
treee5ad4173ea323690cab90ec366b17e55354380ea /tests
parent2f0c3dcbb34ca8b850856315bf1a881745b4f8c6 (diff)
fix implode error in tests on PHP 7.4
Diffstat (limited to 'tests')
-rw-r--r--tests/PHPUnit/Integration/ArchiveProcessor/LoaderTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PHPUnit/Integration/ArchiveProcessor/LoaderTest.php b/tests/PHPUnit/Integration/ArchiveProcessor/LoaderTest.php
index 3690ef45ea..7b63a9571d 100644
--- a/tests/PHPUnit/Integration/ArchiveProcessor/LoaderTest.php
+++ b/tests/PHPUnit/Integration/ArchiveProcessor/LoaderTest.php
@@ -1104,7 +1104,7 @@ class LoaderTest extends IntegrationTestCase
$this->assertNotEmpty($idArchive);
$table = ArchiveTableCreator::getNumericTable(Date::factory('2016-02-03'));
- $doneFlag = Db::fetchOne("SELECT `name` FROM `$table` WHERE `name` LIKE 'done%' AND idarchive IN (" . implode($idArchive, ',') . ")");
+ $doneFlag = Db::fetchOne("SELECT `name` FROM `$table` WHERE `name` LIKE 'done%' AND idarchive IN (" . implode(',', $idArchive) . ")");
$this->assertEquals('done.Actions', $doneFlag);
}