We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7128dc2 commit fcff151Copy full SHA for fcff151
internal/server/server_test.go
@@ -122,17 +122,6 @@ func TestNewRouter(t *testing.T) {
122
assert.Equal(t, http.StatusUnauthorized, responseRecorder.Code)
123
})
124
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
136
// Test 404 handler
137
t.Run("404 handler", func(t *testing.T) {
138
request := httptest.NewRequest("GET", "/non-existent", nil)
0 commit comments