tracking/Tests/Functional/Fixtures/UpdateDataCommandTest/PageviewsWithOperatingSystem.php
Daniel Siepmann 38a2be296a Migrate test fixtures to PHP Data Sets
That will ease maintenance.
XML is no longer supported by TYPO3 Testing Framework.

Resolves: #109
2023-05-11 15:16:43 +02:00

26 lines
727 B
PHP

<?php
return [
'pages' => [
[
'pid' => '0',
'uid' => '1',
],
],
'tx_tracking_pageview' => [
[
'pid' => '1',
'uid' => '1',
'url' => 'https://example.com/path',
'user_agent' => 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36',
'operating_system' => 'Linux',
],
[
'pid' => '1',
'uid' => '2',
'url' => 'https://example.com/path',
'user_agent' => 'Dalvik/2.1.0 (Linux; U; Android 9; ONEPLUS A3003 Build/PKQ1.181203.001)',
'operating_system' => 'Android',
],
],
];