Browse Source

修复测试用例问题

Signed-off-by: allan716 <[email protected]>
allan716 2 years ago
parent
commit
cfd08cf673
1 changed files with 2 additions and 0 deletions
  1. 2 0
      pkg/logic/sub_supplier/a4k/a4k_test.go

+ 2 - 0
pkg/logic/sub_supplier/a4k/a4k_test.go

@@ -97,6 +97,8 @@ var (
 
 func defInstance() {
 
+	settings.SetConfigRootPath(pkg.ConfigRootDirFPath())
+
 	pkg.ReadCustomAuthFile(log_helper.GetLogger4Tester())
 
 	authKey := random_auth_key.AuthKey{