mirror of
https://github.com/gabehf/Koito.git
synced 2026-03-07 13:38:15 -08:00
chore: static -> test_assets
This commit is contained in:
parent
b8fe630004
commit
9ea68f858d
8 changed files with 10 additions and 9 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue