mirror of
https://github.com/predis/predis.git
synced 2026-09-16 05:17:02 +00:00
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:
@@ -73,6 +73,6 @@ class StringBitPosTest extends PredisCommandTestCase
|
||||
{
|
||||
$redis = $this->getClient();
|
||||
$redis->lpush('key', 'list');
|
||||
$redis->bitpos('key');
|
||||
$redis->bitpos('key', 0);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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',
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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',
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user