瀏覽代碼

[test] Fix wrong variable.

Daniele Alessandri 11 年之前
父節點
當前提交
8357af177e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/Predis/ClientTest.php

+ 1 - 1
tests/Predis/ClientTest.php

@@ -286,7 +286,7 @@ class ClientTest extends PredisTestCase
         $arg2 = array(
             'aggregate'   => function () use ($fnaggregate) { return $fnaggregate; },
             'cluster'     => function () use ($fncluster) { return $fncluster; },
-            'replication' => function () use ($fnreplication) { return $fncluster; },
+            'replication' => function () use ($fnreplication) { return $fnreplication; },
         );
 
         $client = new Client($arg1, $arg2);