ソースを参照

fix unit test

zxfishhack 6 ヶ月 前
コミット
c7a104b07b
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1 1
      internal/utils/cache/redis_test.go

+ 1 - 1
internal/utils/cache/redis_test.go

@@ -283,7 +283,7 @@ func TestGetRedisOptions(t *testing.T) {
 }
 
 func TestSetAndGet(t *testing.T) {
-	if err := InitRedisClient("127.0.0.1:6379", "difyai123456", false); err != nil {
+	if err := InitRedisClient("127.0.0.1:6379", "difyai123456", false, 0); err != nil {
 		t.Fatal(err)
 	}
 	defer Close()