summaryrefslogtreecommitdiff
path: root/internal/discovery
diff options
context:
space:
mode:
Diffstat (limited to 'internal/discovery')
-rw-r--r--internal/discovery/discovery_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/discovery/discovery_test.go b/internal/discovery/discovery_test.go
index 8d16452..9d6b914 100644
--- a/internal/discovery/discovery_test.go
+++ b/internal/discovery/discovery_test.go
@@ -13,7 +13,7 @@ import (
)
// setupFileServer sets up a file server with a directory
-func setupFileServer(t *testing.T, directory string) (*http.Server) {
+func setupFileServer(t *testing.T, directory string) *http.Server {
listener, err := net.Listen("tcp", ":0")
if err != nil {
t.Fatalf("Failed to setup discovery file server")
@@ -197,7 +197,6 @@ func TestServerByCountryCode(t *testing.T) {
// TestOrgByID tests the function for getting an organization by ID
func TestOrgByID(t *testing.T) {
-
o1 := types.DiscoveryOrganization{OrgID: "a"}
d := Discovery{
organizations: types.DiscoveryOrganizations{