@@ -47,7 +47,7 @@ testMultiIngressIdpSimpleCase = do
47
47
void $ setTeamFeatureStatus owner tid " sso" " enabled"
48
48
49
49
-- Create IdP for one domain
50
- SAML. SampleIdP idpmeta _pCreds _ _ <- SAML. makeSampleIdPMetadata
50
+ SAML. SampleIdP idpmeta _ _ _ <- SAML. makeSampleIdPMetadata
51
51
idpId <-
52
52
createIdpWithZHost owner (Just ernieZHost) idpmeta `bindResponse` \ resp -> do
53
53
resp. status `shouldMatchInt` 201
@@ -89,7 +89,7 @@ testUnconfiguredDomain = forM_ [Nothing, Just kermitZHost] $ \unconfiguredZHost
89
89
(owner, tid, _) <- createTeam domain 1
90
90
void $ setTeamFeatureStatus owner tid " sso" " enabled"
91
91
92
- SAML. SampleIdP idpmeta1 _pCreds _ _ <- SAML. makeSampleIdPMetadata
92
+ SAML. SampleIdP idpmeta1 _ _ _ <- SAML. makeSampleIdPMetadata
93
93
idpId1 <-
94
94
createIdpWithZHost owner (Just ernieZHost) idpmeta1 `bindResponse` \ resp -> do
95
95
resp. status `shouldMatchInt` 201
@@ -115,7 +115,7 @@ testUnconfiguredDomain = forM_ [Nothing, Just kermitZHost] $ \unconfiguredZHost
115
115
resp. jsonBody %. " extraInfo.domain" `shouldMatch` ernieZHost
116
116
117
117
-- Create unconfigured -> no multi-ingress domain
118
- SAML. SampleIdP idpmeta2 _pCreds _ _ <- SAML. makeSampleIdPMetadata
118
+ SAML. SampleIdP idpmeta2 _ _ _ <- SAML. makeSampleIdPMetadata
119
119
idpId2 <-
120
120
createIdpWithZHost owner (unconfiguredZHost) idpmeta2 `bindResponse` \ resp -> do
121
121
resp. status `shouldMatchInt` 201
@@ -127,7 +127,7 @@ testUnconfiguredDomain = forM_ [Nothing, Just kermitZHost] $ \unconfiguredZHost
127
127
resp. jsonBody %. " extraInfo.domain" `shouldMatch` Null
128
128
129
129
-- Create a second unconfigured -> no multi-ingress domain
130
- SAML. SampleIdP idpmeta3 _pCreds _ _ <- SAML. makeSampleIdPMetadata
130
+ SAML. SampleIdP idpmeta3 _ _ _ <- SAML. makeSampleIdPMetadata
131
131
idpId3 <-
132
132
createIdpWithZHost owner (unconfiguredZHost) idpmeta3 `bindResponse` \ resp -> do
133
133
resp. status `shouldMatchInt` 201
@@ -202,51 +202,51 @@ testNonMultiIngressSetupsCanHaveMoreIdPsPerDomain = do
202
202
void $ setTeamFeatureStatus owner tid " sso" " enabled"
203
203
204
204
-- With Z-Host header
205
- SAML. SampleIdP idpmeta1 _pCreds _ _ <- SAML. makeSampleIdPMetadata
205
+ SAML. SampleIdP idpmeta1 _ _ _ <- SAML. makeSampleIdPMetadata
206
206
idpId1 <-
207
207
createIdpWithZHost owner (Just ernieZHost) idpmeta1 `bindResponse` \ resp -> do
208
208
resp. status `shouldMatchInt` 201
209
209
resp. jsonBody %. " extraInfo.domain" `shouldMatch` Null
210
210
resp. jsonBody %. " id" >>= asString
211
211
212
- SAML. SampleIdP idpmeta2 _pCreds _ _ <- SAML. makeSampleIdPMetadata
212
+ SAML. SampleIdP idpmeta2 _ _ _ <- SAML. makeSampleIdPMetadata
213
213
idpId2 <-
214
214
createIdpWithZHost owner (Just ernieZHost) idpmeta2 `bindResponse` \ resp -> do
215
215
resp. status `shouldMatchInt` 201
216
216
resp. jsonBody %. " extraInfo.domain" `shouldMatch` Null
217
217
resp. jsonBody %. " id" >>= asString
218
218
219
- SAML. SampleIdP idpmeta3 _pCreds _ _ <- SAML. makeSampleIdPMetadata
219
+ SAML. SampleIdP idpmeta3 _ _ _ <- SAML. makeSampleIdPMetadata
220
220
updateIdpWithZHost owner (Just ernieZHost) idpId1 idpmeta3 `bindResponse` \ resp -> do
221
221
resp. status `shouldMatchInt` 200
222
222
resp. jsonBody %. " extraInfo.domain" `shouldMatch` Null
223
223
224
- SAML. SampleIdP idpmeta4 _pCreds _ _ <- SAML. makeSampleIdPMetadata
224
+ SAML. SampleIdP idpmeta4 _ _ _ <- SAML. makeSampleIdPMetadata
225
225
updateIdpWithZHost owner (Just ernieZHost) idpId2 idpmeta4 `bindResponse` \ resp -> do
226
226
resp. status `shouldMatchInt` 200
227
227
resp. jsonBody %. " extraInfo.domain" `shouldMatch` Null
228
228
229
229
-- Without Z-Host header
230
- SAML. SampleIdP idpmeta5 _pCreds _ _ <- SAML. makeSampleIdPMetadata
230
+ SAML. SampleIdP idpmeta5 _ _ _ <- SAML. makeSampleIdPMetadata
231
231
idpId5 <-
232
232
createIdpWithZHost owner Nothing idpmeta5 `bindResponse` \ resp -> do
233
233
resp. status `shouldMatchInt` 201
234
234
resp. jsonBody %. " extraInfo.domain" `shouldMatch` Null
235
235
resp. jsonBody %. " id" >>= asString
236
236
237
- SAML. SampleIdP idpmeta6 _pCreds _ _ <- SAML. makeSampleIdPMetadata
237
+ SAML. SampleIdP idpmeta6 _ _ _ <- SAML. makeSampleIdPMetadata
238
238
idpId6 <-
239
239
createIdpWithZHost owner Nothing idpmeta6 `bindResponse` \ resp -> do
240
240
resp. status `shouldMatchInt` 201
241
241
resp. jsonBody %. " extraInfo.domain" `shouldMatch` Null
242
242
resp. jsonBody %. " id" >>= asString
243
243
244
- SAML. SampleIdP idpmeta7 _pCreds _ _ <- SAML. makeSampleIdPMetadata
244
+ SAML. SampleIdP idpmeta7 _ _ _ <- SAML. makeSampleIdPMetadata
245
245
updateIdpWithZHost owner Nothing idpId5 idpmeta7 `bindResponse` \ resp -> do
246
246
resp. status `shouldMatchInt` 200
247
247
resp. jsonBody %. " extraInfo.domain" `shouldMatch` Null
248
248
249
- SAML. SampleIdP idpmeta8 _pCreds _ _ <- SAML. makeSampleIdPMetadata
249
+ SAML. SampleIdP idpmeta8 _ _ _ <- SAML. makeSampleIdPMetadata
250
250
updateIdpWithZHost owner Nothing idpId6 idpmeta8 `bindResponse` \ resp -> do
251
251
resp. status `shouldMatchInt` 200
252
252
resp. jsonBody %. " extraInfo.domain" `shouldMatch` Null
0 commit comments