Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
joelsmith-2019 committed Apr 24, 2024
1 parent 4219d28 commit 3ba7505
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions circle/attestation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ func TestAttestationNotFound(t *testing.T) {
}

func TestAttestationWithoutEndingSlash(t *testing.T) {
startUrl := cfg.Circle.AttestationBaseURL
cfg.Circle.AttestationBaseURL = startUrl[:len(startUrl)-1]
startURL := cfg.Circle.AttestationBaseURL
cfg.Circle.AttestationBaseURL = startURL[:len(startURL)-1]

resp := circle.CheckAttestation(cfg.Circle.AttestationBaseURL, logger, "85bbf7e65a5992e6317a61f005e06d9972a033d71b514be183b179e1b47723fe", "", 0, 4)
require.NotNil(t, resp)
require.Equal(t, "complete", resp.Status)

cfg.Circle.AttestationBaseURL = startUrl
cfg.Circle.AttestationBaseURL = startURL
}

func TestAttestationWithLeading0x(t *testing.T) {
Expand Down

0 comments on commit 3ba7505

Please sign in to comment.