Browse Source

修复 DeleteOneSeasonSubCacheFolder 单元测试

Signed-off-by: allan716 <[email protected]>
allan716 3 years ago
parent
commit
07967a84c8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      internal/pkg/sub_helper/sub_helper_test.go

+ 1 - 1
internal/pkg/sub_helper/sub_helper_test.go

@@ -14,7 +14,7 @@ import (
 func TestDeleteOneSeasonSubCacheFolder(t *testing.T) {
 	const testSerName = "XXX"
 	const needDelFolderName = "Sub_S1E0"
-	testRootDir := unit_test_helper.GetTestDataResourceRootPath([]string{"sub_helper", "test", needDelFolderName}, 4, false)
+	testRootDir := unit_test_helper.GetTestDataResourceRootPath([]string{"sub_helper", "org", needDelFolderName}, 4, false)
 	desSerFullPath, err := my_util.GetDebugFolderByName([]string{testSerName})
 	if err != nil {
 		t.Fatal(err)