Skip to content

Commit

Permalink
fixing uuid import
Browse files Browse the repository at this point in the history
  • Loading branch information
tbuchaillot committed Sep 23, 2020
1 parent b982a9a commit 462838a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gateway/host_checker_manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"bytes"
"github.com/TykTechnologies/tyk/config"
"github.com/TykTechnologies/tyk/storage"
uuid2 "github.com/satori/go.uuid"
uuid "github.com/satori/go.uuid"
"net/http"
"testing"
"text/template"
Expand Down Expand Up @@ -90,7 +90,7 @@ func TestGenerateCheckerId(t *testing.T) {
t.Error("HostCheckerManager should generate an Id on GenerateCheckerId")
}

uuid, _ := uuid2.FromString(hc.Id)
uuid, _ := uuid.FromString(hc.Id)
if uuid.Version() != 4 {
t.Error("HostCheckerManager should generate an uuid.v4 id")
}
Expand Down

0 comments on commit 462838a

Please sign in to comment.