From 921b7f6449c32c5788e43c128ab9f46683dba8e8 Mon Sep 17 00:00:00 2001 From: Jeroen Wijenbergh Date: Mon, 6 May 2024 14:47:43 +0200 Subject: Test Server: Add helpers for response handlers --- internal/discovery/discovery_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/discovery/discovery_test.go') diff --git a/internal/discovery/discovery_test.go b/internal/discovery/discovery_test.go index 317aa50..495efd2 100644 --- a/internal/discovery/discovery_test.go +++ b/internal/discovery/discovery_test.go @@ -15,7 +15,7 @@ import ( // It setups up a file server using the 'test_files' directory func TestServers(t *testing.T) { handler := http.FileServer(http.Dir("test_files")) - s := test.NewServer(handler) + s := test.NewServer(handler, nil) DiscoURL = s.URL c, err := s.Client() if err != nil { @@ -57,7 +57,7 @@ func TestServers(t *testing.T) { // It setups up a file server using the 'test_files' directory func TestOrganizations(t *testing.T) { handler := http.FileServer(http.Dir("test_files")) - s := test.NewServer(handler) + s := test.NewServer(handler, nil) DiscoURL = s.URL c, err := s.Client() if err != nil { -- cgit v1.2.3