fix(xbox): match only the 401 rejection Xodus prints

This commit is contained in:
maxjivi05 authored and MaxsTechReview committed 2026-10-24 09:07:13 -04:00
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))
}
}