From 7ecce01f7f71cc22e6672b43b7b267667c22e47e Mon Sep 17 00:00:00 2001 From: Quan Zhao Date: Wed, 4 Mar 2020 15:09:59 +0800 Subject: [PATCH] [t] Update fix. --- t/023-ngx_redis.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/023-ngx_redis.t b/t/023-ngx_redis.t index 3d6da8cd..f462752d 100644 --- a/t/023-ngx_redis.t +++ b/t/023-ngx_redis.t @@ -17,7 +17,7 @@ location =/t1 { $r = new php\ngx\Redis(); yield from $r->connect("127.0.0.1","6379"); $ret = yield from $r->set("foo", "123456789"); - $res = yield from $fd->get("foo"); + $res = yield from $r->get("foo"); echo $res."\n"; unset($r); }