Mark the scrubber test's fake JWT as a sweep fixture
ErrorReportingTests carries a JWT-shaped string whose signature decodes to "signature-bytes-here". The secret sweep failed on it, so the fixture count goes from 1 to 2 with the marker on that one line. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
1f8cf1ef82
commit
836d21dfb3
@@ -66,7 +66,7 @@ MARKER='secret-sweep: fixture'
|
||||
#
|
||||
# Bumping this is not a formality. Read the line that made it necessary and
|
||||
# satisfy yourself it is a fixture before you change the number.
|
||||
EXPECTED_FIXTURES=1
|
||||
EXPECTED_FIXTURES=2
|
||||
|
||||
hits=0
|
||||
suppressed=0
|
||||
|
||||
@@ -19,7 +19,7 @@ struct ErrorReportingTests {
|
||||
static let ipv4 = "203.0.113.77"
|
||||
static let ipv6 = "2001:db8:85a3::8a2e:370:7334"
|
||||
static let jwt =
|
||||
"eyJhbGciOiJFZERTQSJ9.eyJzdWIiOiI0ODIxMyIsImF1ZCI6InJlbGF5In0.c2lnbmF0dXJlLWJ5dGVzLWhlcmU"
|
||||
"eyJhbGciOiJFZERTQSJ9.eyJzdWIiOiI0ODIxMyIsImF1ZCI6InJlbGF5In0.c2lnbmF0dXJlLWJ5dGVzLWhlcmU" // secret-sweep: fixture (fake JWT, signature is "signature-bytes-here")
|
||||
static let bearer = "Bearer q8ZtR3vLx0PmN5sKd7WbYc2HjF9gA4eU"
|
||||
static let rawToken = "Zx81_mQp2LrT9vNw4KsY6dHa"
|
||||
static let email = "someone@example.org"
|
||||
|
||||
Reference in New Issue
Block a user