Browse Source

[test] Fix wrong variable.

Daniele Alessandri 11 years ago
parent
commit
8357af177e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/Predis/ClientTest.php

+ 1 - 1
tests/Predis/ClientTest.php

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