diff options
author | sgiehl <stefan@matomo.org> | 2020-08-10 16:16:00 +0300 |
---|---|---|
committer | sgiehl <stefan@matomo.org> | 2020-08-10 16:16:00 +0300 |
commit | 35d8e33bab707d9ebffd5fab5d0758cb0019c241 (patch) | |
tree | e5ad4173ea323690cab90ec366b17e55354380ea /tests | |
parent | 2f0c3dcbb34ca8b850856315bf1a881745b4f8c6 (diff) |
fix implode error in tests on PHP 7.4
Diffstat (limited to 'tests')
-rw-r--r-- | tests/PHPUnit/Integration/ArchiveProcessor/LoaderTest.php | 2 |
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); } |