mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-18 20:36:04 +00:00
fix(xbox): match only the 401 rejection Xodus prints
This commit is contained in:
1 parent
6855dd4467
commit
bcb18e3fb7
2 files changed
+2
-2
No files matched your search
@@ -9,11 +9,11 @@ class XodusDiagnosticsTest {
|
||||
|
||||
@Test fun aContentLicenseRejectionIsRecognised() {
|
||||
assertTrue("Microsoft content licensing rejected sign-in (HTTP 401). Sign in again in Settings.".matches(rejected))
|
||||
assertTrue("Microsoft content licensing rejected sign-in (HTTP 403). Sign in again in Settings.".matches(rejected))
|
||||
}
|
||||
|
||||
@Test fun otherStderrTextIsNotTakenForARejection() {
|
||||
assertFalse("Microsoft content licensing rejected sign-in (HTTP 401). Sign in again in Settings. token=abc".matches(rejected))
|
||||
assertFalse("Microsoft content licensing rejected sign-in (HTTP 403). Sign in again in Settings.".matches(rejected))
|
||||
assertFalse("NEXUS_CONTENT_LICENSE_DIAGNOSTIC_V1 content-http 401".matches(rejected))
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user