chore: static -> test_assets

This commit is contained in:
Gabe Farrell 2025-06-13 16:23:43 -04:00
parent b8fe630004
commit 9ea68f858d
8 changed files with 10 additions and 9 deletions

View file

@ -18,7 +18,7 @@ import (
func TestImageLifecycle(t *testing.T) {
// serve yuu.jpg as test image
imageBytes, err := os.ReadFile(filepath.Join("static", "yuu.jpg"))
imageBytes, err := os.ReadFile(filepath.Join("test_assets", "yuu.jpg"))
require.NoError(t, err)
server := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Content-Type", "image/jpeg")