Permalink
Browse files

added PEIP_Redis\Queue\Queue + tests

  • Loading branch information...
1 parent d9de53c commit 7ba9fc06ededce50c3fd874fefec4ff2fb94161e @tidal committed Jul 22, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/Queue/QueueTest.php
@@ -33,7 +33,7 @@ public function testEnqueueTimeout(){
$value = 'foo';
$timeout = 1;
$time1 = microtime(1);
- $queue = new PEIP_Redis\Queue\Queue($this->redis, $key);
+ $queue = new PEIP_Redis\Queue\Queue($this->redis, $key, $timeout);
$queue->dequeue();
$this->assertGreaterThanOrEqual($time1 + $timeout, microtime(1));
}

0 comments on commit 7ba9fc0

Please sign in to comment.