diff --git a/source_fs_test.go b/source_fs_test.go index 342df0ff..ecf24cbf 100644 --- a/source_fs_test.go +++ b/source_fs_test.go @@ -11,7 +11,7 @@ import ( func TestFileSystemImageSource(t *testing.T) { var body []byte var err error - const fixtureFile = "testdata/large image.jpg" + const fixtureFile = "testdata/large.jpg" source := NewFileSystemImageSource(&SourceConfig{MountPath: "testdata"}) fakeHandler := func(w http.ResponseWriter, r *http.Request) { @@ -27,7 +27,7 @@ func TestFileSystemImageSource(t *testing.T) { } file, _ := os.Open(fixtureFile) - r, _ := http.NewRequest(http.MethodGet, "http://foo/bar?file=large%20image.jpg", file) + r, _ := http.NewRequest(http.MethodGet, "http://foo/bar?file=large.jpg", file) w := httptest.NewRecorder() fakeHandler(w, r)