working commit

This commit is contained in:
2026-01-24 19:21:27 +02:00
parent d704a76bee
commit f2e33d9ff1
5 changed files with 71 additions and 6 deletions
+3 -2
View File
@@ -10,6 +10,7 @@ import (
"mstore/app/router"
"mstore/app/server"
"mstore/app/service"
//"mstore/pkg/client"
"github.com/stretchr/testify/require"
)
@@ -25,8 +26,8 @@ func TestFileExists(t *testing.T) {
err = srv.Build()
require.NoError(t, err)
reqPath := "/api/v3/file/foo/bare/abc123"
routePath := `/api/v3/file/{filepath}`
reqPath := `/v3/api/file/foo/bare`
routePath := `/v3/api/file/{filepath}`
rout := router.NewRouter()
hand := srv.Handler()