Этот коммит содержится в:
Julien Tant
2022-10-20 12:06:34 -07:00
коммит произвёл GitHub
родитель 093c657e56
Коммит b30e511ffe

Просмотреть файл

@@ -4,7 +4,7 @@
package platform
import (
"io/ioutil"
"os"
"path/filepath"
"sync"
"testing"
@@ -127,7 +127,7 @@ func SetupWithCluster(tb testing.TB, cluster einterfaces.ClusterInterface) *Test
}
func setupTestHelper(dbStore store.Store, enterprise bool, includeCacheLayer bool, tb testing.TB, options ...Option) *TestHelper {
tempWorkspace, err := ioutil.TempDir("", "apptest")
tempWorkspace, err := os.MkdirTemp("", "apptest")
if err != nil {
panic(err)
}