Explorar el Código

fix unit test

zxfishhack hace 6 meses
padre
commit
c7a104b07b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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()