mirror of
https://github.com/nkanaev/yarr.git
synced 2026-07-15 11:06:31 +00:00
fix tests
This commit is contained in:
@@ -16,7 +16,7 @@ import (
|
||||
|
||||
func TestStatic(t *testing.T) {
|
||||
handler := NewServer(nil, "127.0.0.1:8000").handler()
|
||||
url := "/static/javascripts/app.js"
|
||||
url := "/static/bundle.js"
|
||||
|
||||
recorder := httptest.NewRecorder()
|
||||
request := httptest.NewRequest("GET", url, nil)
|
||||
@@ -31,7 +31,7 @@ func TestStaticWithBase(t *testing.T) {
|
||||
server.BasePath = "/sub"
|
||||
|
||||
handler := server.handler()
|
||||
url := "/sub/static/javascripts/app.js"
|
||||
url := "/sub/static/bundle.js"
|
||||
|
||||
recorder := httptest.NewRecorder()
|
||||
request := httptest.NewRequest("GET", url, nil)
|
||||
|
||||
Reference in New Issue
Block a user