Skip to content

Commit fcff151

Browse files
committed
clenaup tests
1 parent 7128dc2 commit fcff151

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

internal/server/server_test.go

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -122,17 +122,6 @@ func TestNewRouter(t *testing.T) {
122122
assert.Equal(t, http.StatusUnauthorized, responseRecorder.Code)
123123
})
124124

125-
// Test static file serving
126-
t.Run("Static file serving", func(t *testing.T) {
127-
request := httptest.NewRequest("GET", "/static/css/vimbin.css", nil)
128-
responseRecorder := httptest.NewRecorder()
129-
130-
router.ServeHTTP(responseRecorder, request)
131-
132-
// Check the status code of the response
133-
assert.Equal(t, http.StatusOK, responseRecorder.Code)
134-
})
135-
136125
// Test 404 handler
137126
t.Run("404 handler", func(t *testing.T) {
138127
request := httptest.NewRequest("GET", "/non-existent", nil)

0 commit comments

Comments
 (0)