From 274df0534b9c68549d441c08b8aa34dc1bc46204 Mon Sep 17 00:00:00 2001 From: maddalax Date: Fri, 1 Nov 2024 06:05:50 -0500 Subject: [PATCH] test --- framework/config/project_test.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/framework/config/project_test.go b/framework/config/project_test.go index 197f4b9..89288ae 100644 --- a/framework/config/project_test.go +++ b/framework/config/project_test.go @@ -82,6 +82,12 @@ func TestPublicAssetPath(t *testing.T) { assert.Equal(t, "/assets", cfg.PublicAssetPath) } +func TestConfigGet(t *testing.T) { + t.Parallel() + cfg := Get() + assert.Equal(t, "/public", cfg.PublicAssetPath) +} + func writeConfigFile(t *testing.T, content string) string { temp := os.TempDir() os.Mkdir(temp, 0755)