Updated test cases

1) updated command sequence profiles
2) fixed exception test syntax error
3) Installed PHPUnit locally and successfully ran test.
This commit is contained in:
nicchap
2014-12-20 12:12:04 -05:00
parent 3eb053a08c
commit 0e2b7603a5
3 changed files with 25 additions and 25 deletions
+1 -1
View File
@@ -73,6 +73,6 @@ class StringBitPosTest extends PredisCommandTestCase
{
$redis = $this->getClient();
$redis->lpush('key', 'list');
$redis->bitpos('key');
$redis->bitpos('key', 0);
}
}
+12 -12
View File
@@ -175,18 +175,18 @@ class RedisVersion280Test extends PredisProfileTestCase
134 => 'TIME',
135 => 'SENTINEL',
136 => 'SCAN',
137 => 'SSCAN',
138 => 'ZSCAN',
139 => 'ZLEXCOUNT',
140 => 'ZRANGEBYLEX',
141 => 'ZREMRANGEBYLEX',
142 => 'HSCAN',
143 => 'PUBSUB',
144 => 'PFADD',
145 => 'PFCOUNT',
146 => 'PFMERGE',
147 => 'COMMAND',
148 => 'BITPOS',
137 => 'BITPOS',
138 => 'SSCAN',
139 => 'ZSCAN',
140 => 'ZLEXCOUNT',
141 => 'ZRANGEBYLEX',
142 => 'ZREMRANGEBYLEX',
143 => 'HSCAN',
144 => 'PUBSUB',
145 => 'PFADD',
146 => 'PFCOUNT',
147 => 'PFMERGE',
148 => 'COMMAND',
);
}
}
+12 -12
View File
@@ -175,18 +175,18 @@ class RedisVersion300Test extends PredisProfileTestCase
134 => 'TIME',
135 => 'SENTINEL',
136 => 'SCAN',
137 => 'SSCAN',
138 => 'ZSCAN',
139 => 'ZLEXCOUNT',
140 => 'ZRANGEBYLEX',
141 => 'ZREMRANGEBYLEX',
142 => 'HSCAN',
143 => 'PUBSUB',
144 => 'PFADD',
145 => 'PFCOUNT',
146 => 'PFMERGE',
147 => 'COMMAND',
148 => 'BITPOS',
137 => 'BITPOS',
138 => 'SSCAN',
139 => 'ZSCAN',
140 => 'ZLEXCOUNT',
141 => 'ZRANGEBYLEX',
142 => 'ZREMRANGEBYLEX',
143 => 'HSCAN',
144 => 'PUBSUB',
145 => 'PFADD',
146 => 'PFCOUNT',
147 => 'PFMERGE',
148 => 'COMMAND',
);
}
}