diff options
| author | Jeroen Wijenbergh <jeroenwijenbergh@protonmail.com> | 2024-05-06 14:47:43 +0200 |
|---|---|---|
| committer | Jeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com> | 2024-05-24 13:25:11 +0200 |
| commit | 921b7f6449c32c5788e43c128ab9f46683dba8e8 (patch) | |
| tree | 6260046a537f45579e568d7d8f251ff1efda7800 /internal/discovery | |
| parent | a2ee44b700d6f094bbf887c8cfb4734da3e3cb3f (diff) | |
Test Server: Add helpers for response handlers
Diffstat (limited to 'internal/discovery')
| -rw-r--r-- | internal/discovery/discovery_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
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 { |
