mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-09-21 14:19:18 +08:00
test(grok): wire reconciliation in import probe fixture
This commit is contained in:
@@ -73,7 +73,7 @@ func TestGrokSSOBatchImportKeepsCreatedAccountsWhenOneAutomaticProbeFails(t *tes
|
||||
defer oauthService.Stop()
|
||||
prober := newGrokImportProbeStub(3)
|
||||
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
|
||||
|
||||
router := gin.New()
|
||||
|
||||
Reference in New Issue
Block a user