2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 13:47:15 +08:00

fix: tests

This commit is contained in:
2025-12-03 19:17:42 +08:00
parent d583aa68fa
commit 03766381df

View File

@@ -477,9 +477,9 @@ func (s *ProxyVhostTestSuite) SetupTest() {
s.Require().NoError(err)
s.configDir = configDir
// 创建 vhost 和 global 目录
// 创建 site 和 shared 目录
s.NoError(os.MkdirAll(filepath.Join(configDir, "site"), 0755))
s.NoError(os.MkdirAll(filepath.Join(configDir, "global"), 0755))
s.NoError(os.MkdirAll(filepath.Join(configDir, "shared"), 0755))
vhost, err := NewProxyVhost(configDir)
s.Require().NoError(err)