Skip to content

Commit

Permalink
Updated MockQueue to conform to abstract queue
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Wilde committed Apr 10, 2014
1 parent 83df3f0 commit c750532
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/mocks/extensions/adapter/queue/MockQueue.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ public function read(array $options = array()) {
return null;
}

public function confirm($message) {
public function confirm($message, array $options = array()) {
$unacked = &$this->_unacked;
unset($unacked[$message->id()]);

return true;
}

public function requeue($message) {
public function requeue($message, array $options = array()) {
$queue = &$this->_queue;
$unacked = &$this->_unacked;
$message = $unacked[$message->id()];
Expand Down

0 comments on commit c750532

Please sign in to comment.