diff options
| author | Jeroen Wijenbergh <jeroen.wijenbergh@geant.org> | 2025-08-29 14:05:20 +0200 |
|---|---|---|
| committer | Jeroen Wijenbergh <jeroen.wijenbergh@geant.org> | 2025-08-29 14:40:24 +0200 |
| commit | 4a23134e1e5d70a9c8c5857790dbf27585ca3b1f (patch) | |
| tree | c7edff437df88d6d127f8bda0a35d59fc0d3dc68 /exports/exports_test_wrapper.go | |
| parent | 5461efc826952833fcdecca5d3daa3ee70423a31 (diff) | |
Discovery: Add cache argument and embed unmarshal on startup
Diffstat (limited to 'exports/exports_test_wrapper.go')
| -rw-r--r-- | exports/exports_test_wrapper.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/exports/exports_test_wrapper.go b/exports/exports_test_wrapper.go index 0c9b9dc..96abb74 100644 --- a/exports/exports_test_wrapper.go +++ b/exports/exports_test_wrapper.go @@ -510,14 +510,14 @@ func testLetsConnectDiscovery(t *testing.T) { t.Fatalf("failed to add server got a different error: %v, want: %v", addErr, exptErr) } - _, servErr := DiscoServers(ck, nil) + _, servErr := DiscoServers(ck, 0, nil) servErrS := getError(t, servErr) exptErr = "An internal error occurred. The cause of the error is: Server discovery with this client ID is not supported." if servErrS != exptErr { t.Fatalf("discovery servers got a different error: %v, want: %v", servErrS, exptErr) } - _, orgErr := DiscoOrganizations(ck, nil) + _, orgErr := DiscoOrganizations(ck, 0, nil) orgErrS := getError(t, orgErr) exptErr = "An internal error occurred. The cause of the error is: Organization discovery with this client ID is not supported." if orgErrS != exptErr { |
