diff options
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(); |