mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-11-03 00:33:13 +00:00
test(grok): wire reconciliation in import probe fixture
This commit is contained in:
1 parent
3a3b962de3
commit
0c80d52573
1 file changed
+1
-1
@@ -73,7 +73,7 @@ func TestGrokSSOBatchImportKeepsCreatedAccountsWhenOneAutomaticProbeFails(t *tes
|
|||||||
defer oauthService.Stop()
|
defer oauthService.Stop()
|
||||||
prober := newGrokImportProbeStub(3)
|
prober := newGrokImportProbeStub(3)
|
||||||
prober.failures[502] = infraerrors.New(502, "GROK_TEST_PROBE_FAILED", "sensitive-upstream-body")
|
prober.failures[502] = infraerrors.New(502, "GROK_TEST_PROBE_FAILED", "sensitive-upstream-body")
|
||||||
handler := NewGrokOAuthHandler(oauthService, adminService, nil)
|
handler := NewGrokOAuthHandler(oauthService, adminService, nil, nil)
|
||||||
handler.importProber = prober
|
handler.importProber = prober
|
||||||
|
|
||||||
router := gin.New()
|
router := gin.New()
|
||||||
|
|||||||
Reference in new issue
Block a user