We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12d1241 commit f8c0a44Copy full SHA for f8c0a44
recipe/session/verifySession_test.go
@@ -1112,14 +1112,20 @@ func TestThatResponseHeadersAreCorrectWhenUsingHeaders(t *testing.T) {
1112
1113
accessAllowHeaderValues := strings.Split(res.Header.Get("Access-Control-Expose-Headers"), ",")
1114
frontTokenCount := 0
1115
+ stAccessTokenCount := 0
1116
1117
for _, value := range accessAllowHeaderValues {
1118
if strings.Contains(value, "front-token") {
1119
frontTokenCount += 1
1120
}
1121
+
1122
+ if strings.Contains(value, "st-access-token") {
1123
+ stAccessTokenCount += 1
1124
+ }
1125
1126
1127
assert.Equal(t, frontTokenCount, 1)
1128
+ assert.Equal(t, stAccessTokenCount, 1)
1129
1130
1131
type typeTestEndpoint struct {
0 commit comments