feat: xxbb

This commit is contained in:
hashbro
2026-08-14 13:43:53 +08:00
parent 52fc3a4c4a
commit 8a110af66d
6 changed files with 259 additions and 20 deletions
+12
View File
@@ -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
{