Skip to content

Commit

Permalink
remove old mobile UA test
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Jul 19, 2023
1 parent 9d32f78 commit 5e2557b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions modules/security/src/test/MobileTest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@ class MobileTest extends munit.FunSuite:
Some(Sri("fp_Osk6zKPF96MXI"))
)

test("old instance"):
assertEquals(
LichessMobileUa.parse("Lichess Mobile/1.0.0_ALPHA-2 () as:anon os:iOS/what-3v3r dev:"),
LichessMobileUa("1.0.0_ALPHA-2", 0, None, Sri("old"), "iOS", "what-3v3r", "").some
)

test("invalid UAs"):
assertEquals(
LichessMobileUa.parse("Mobile/0.2.1 (897) as:thibault sri:39xtnrf8 os:android/11.0.2 dev:Moto G (4)"),
Expand Down

0 comments on commit 5e2557b

Please sign in to comment.