mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-20 15:10:28 -04:00
Rename apifetcher methods
Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
parent
52a65c20ac
commit
cd4c90af7e
10 changed files with 32 additions and 34 deletions
|
@ -61,7 +61,7 @@ func TestFetchLatestSEVSNPVersion(t *testing.T) {
|
|||
},
|
||||
}
|
||||
fetcher := newFetcherWithClientAndVerifier(client, dummyVerifier{}, constants.CDNRepositoryURL)
|
||||
res, err := fetcher.FetchSEVSNPVersionLatest(context.Background(), tc.attestation)
|
||||
res, err := fetcher.FetchLatestVersion(context.Background(), tc.attestation)
|
||||
assert := assert.New(t)
|
||||
if tc.wantErr {
|
||||
assert.Error(err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue