Skip to content

Commit

Permalink
Fixing tests after merge for deprecating declare()
Browse files Browse the repository at this point in the history
  • Loading branch information
lstrojny committed May 17, 2013
1 parent f390a53 commit b3f568f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tests/bug_gh50-1.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ for ($i = 0; $i < 3; $i++) {
$queue = new AMQPQueue($channel);
$queue->setName('test' . $i);

$queue->declare();
$queue->declareQueue();
$queue->delete();
}
?>
Expand Down
2 changes: 1 addition & 1 deletion tests/bug_gh50-2.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ for ($i = 0; $i < 3; $i++) {
$queue = new AMQPQueue($channel);
$queue->setName('test' . $i);

$queue->declare();
$queue->declareQueue();
$queue->delete();

unset($queue);
Expand Down
4 changes: 2 additions & 2 deletions tests/bug_gh50-3.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ for ($i = 0; $i < 3; $i++) {
$queue = new AMQPQueue($channel);
$queue->setName('test' . $i);

$queue->declare();
$queue->declareQueue();
$queue->delete();
}

Expand All @@ -30,7 +30,7 @@ for ($i = 0; $i < 3; $i++) {
$queue = new AMQPQueue($channel);
$queue->setName('test' . $i);

$queue->declare();
$queue->declareQueue();
$queue->delete();
}

Expand Down
4 changes: 2 additions & 2 deletions tests/bug_gh50-4.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ for ($i = 0; $i < 3; $i++) {
$queue = new AMQPQueue($channel);
$queue->setName('test' . $i);

$queue->declare();
$queue->declareQueue();
$queue->delete();
}

Expand All @@ -32,7 +32,7 @@ for ($i = 0; $i < 3; $i++) {
$queue = new AMQPQueue($channel);
$queue->setName('test' . $i);

$queue->declare();
$queue->declareQueue();
$queue->delete();
}

Expand Down

0 comments on commit b3f568f

Please sign in to comment.