Classify /native/request's 410 for a gone offer
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+4
−2
internal/callstest/chrome_test.go+4 −2
diff --git a/internal/callstest/chrome_test.go b/internal/callstest/chrome_test.go| index cf51152..cb4d93e 100644 |
| --- a/internal/callstest/chrome_test.go |
| +++ b/internal/callstest/chrome_test.go |
| @@ -354,8 +354,10 @@ func TestTemplatesUseCalloutTonesOnly(t *testing.T) { |
| func TestEveryPlainTextErrorIsClassified(t *testing.T) { |
| classified := map[string]int{ |
| // The native app's JSON endpoints (/native/*): a Swift client |
| - // reads the status, and a page is the wrong answer to it. |
| - "native_auth.go": 12, |
| + // reads the status, and a page is the wrong answer to it. The |
| + // thirteenth is /native/request's 410 for an offer that has gone |
| + // (2026-10-02), which callscore reads as ErrOfferExpired. |
| + "native_auth.go": 13, |
| // POST /native/devices: JSON from the native app. |
| "knockpush.go": 7, |
| // methodNotAllowed's 405 (no person navigates with DELETE) and |