diff options
author | diosmosis <diosmosis@users.noreply.github.com> | 2022-07-11 05:04:02 +0300 |
---|---|---|
committer | diosmosis <diosmosis@users.noreply.github.com> | 2022-07-11 05:04:02 +0300 |
commit | f8da27b18c17d6e6692cf6d57e07baa9157de630 (patch) | |
tree | d052ddefc154af6946395f1041360873d5af023e /plugins/DevicesDetection/tests/System/GoalReportForDevicesTest.php | |
parent | 8934a46c66450ae59bd5b9514ec3ea09f9f069cb (diff) | |
parent | a0ec25efb4943d78e525b2183948c6f8fb526a71 (diff) |
Merge branch '5.x-dev' into vue-remove-angularjs-Referrersvue-remove-angularjs-Referrers
Diffstat (limited to 'plugins/DevicesDetection/tests/System/GoalReportForDevicesTest.php')
-rw-r--r-- | plugins/DevicesDetection/tests/System/GoalReportForDevicesTest.php | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/plugins/DevicesDetection/tests/System/GoalReportForDevicesTest.php b/plugins/DevicesDetection/tests/System/GoalReportForDevicesTest.php index 475158055c..8b9e862309 100644 --- a/plugins/DevicesDetection/tests/System/GoalReportForDevicesTest.php +++ b/plugins/DevicesDetection/tests/System/GoalReportForDevicesTest.php @@ -1,10 +1,12 @@ <?php + /** * Matomo - free/libre analytics platform * * @link https://matomo.org * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later */ + namespace Piwik\Plugins\DevicesDetection\tests\System; use Piwik\Plugins\DevicesDetection\tests\Fixtures\MultiDeviceGoalConversions; @@ -34,11 +36,12 @@ class GoalReportForDevicesTest extends SystemTestCase $idSite = self::$fixture->idSite; $dateTime = self::$fixture->dateTime; - return array( - array('DevicesDetection.getType', array('idSite' => $idSite, 'date' => $dateTime)), - array('DevicesDetection.getBrand', array('idSite' => $idSite, 'date' => $dateTime)), - array('DevicesDetection.getModel', array('idSite' => $idSite, 'date' => $dateTime)), - ); + return [ + ['DevicesDetection.getType', ['idSite' => $idSite, 'date' => $dateTime]], + ['DevicesDetection.getOsVersions', ['idSite' => $idSite, 'date' => $dateTime]], + ['DevicesDetection.getBrand', ['idSite' => $idSite, 'date' => $dateTime]], + ['DevicesDetection.getModel', ['idSite' => $idSite, 'date' => $dateTime]], + ]; } /** @@ -50,4 +53,4 @@ class GoalReportForDevicesTest extends SystemTestCase } } -GoalReportForDevicesTest::$fixture = new MultiDeviceGoalConversions();
\ No newline at end of file +GoalReportForDevicesTest::$fixture = new MultiDeviceGoalConversions(); |