feat: xxbb
This commit is contained in:
@@ -127,6 +127,18 @@ class PageVisitTest extends TestCase
|
||||
$this->assertSame('119.0.6045', $parsed['browser_version']);
|
||||
}
|
||||
|
||||
#[Test]
|
||||
public function user_agent_parser_keeps_ios_patch(): void
|
||||
{
|
||||
$parsed = UserAgentParser::parse(
|
||||
'Mozilla/5.0 (iPhone; CPU iPhone OS 15_8_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6.7 Mobile/15E148 Safari/604.1'
|
||||
);
|
||||
$this->assertSame('iOS', $parsed['os']);
|
||||
$this->assertSame('15.8.4', $parsed['os_version']);
|
||||
$this->assertSame('Safari', $parsed['browser']);
|
||||
$this->assertSame('15.6.7', $parsed['browser_version']);
|
||||
}
|
||||
|
||||
#[Test]
|
||||
public function dashboard_includes_pv_uv(): void
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user