Browse Source
Use proper test name for index route test
feature/add-metadata-endpoint
Fabian Vowie
3 years ago
No known key found for this signature in database
GPG Key ID: C27317C33B27C410
1 changed files with
1 additions and
1 deletions
-
main_test.go
|
@ -9,7 +9,7 @@ import ( |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
func TestIndexRoute(t *testing.T) { |
|
|
func TestIndexRoute(t *testing.T) { |
|
|
t.Run("test", func(t *testing.T) { |
|
|
|
|
|
|
|
|
t.Run("Index route returns valid response", func(t *testing.T) { |
|
|
request := httptest.NewRequest(http.MethodGet, "/", nil) |
|
|
request := httptest.NewRequest(http.MethodGet, "/", nil) |
|
|
responseRecorder := httptest.NewRecorder() |
|
|
responseRecorder := httptest.NewRecorder() |
|
|
|
|
|
|
|
|