fix(backend): fix go tests after .env removal

This commit is contained in:
Lukasz Mierzwa
2026-03-09 15:30:24 +00:00
committed by Łukasz Mierzwa
parent 4283075c4b
commit ed47fdc3a3
2 changed files with 5 additions and 4 deletions

View File

@@ -47,17 +47,17 @@ func TestCustomizationAssets(t *testing.T) {
mime: "text/plain; charset=utf-8",
},
{
customJS: "../../ui/.env",
customJS: "../../ui/mock/custom_assets.txt",
path: "/custom.js",
code: 200,
body: "PUBLIC_URL=.\nFAST_REFRESH=false\nSKIP_PREFLIGHT_CHECK=true\n",
body: "custom assets fixture\n",
mime: "application/javascript",
},
{
customCSS: "../../ui/.env",
customCSS: "../../ui/mock/custom_assets.txt",
path: "/custom.css",
code: 200,
body: "PUBLIC_URL=.\nFAST_REFRESH=false\nSKIP_PREFLIGHT_CHECK=true\n",
body: "custom assets fixture\n",
mime: "text/css",
},
}

View File

@@ -0,0 +1 @@
custom assets fixture