Skip to content

Commit f5883a4

Browse files
committed
improve
1 parent 5c0ac66 commit f5883a4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/Unit/QueueTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ public function testGetName(): void
157157
{
158158
$queue = $this
159159
->getQueue()
160-
->withAdapter(new StubAdapter('test-channel'), 'test-queue');
160+
->withAdapter(new StubAdapter(), 'test-queue');
161161

162162
$this->assertSame('test-queue', $queue->getName());
163163
}
@@ -166,7 +166,7 @@ public function testGetNameWithBackedEnum(): void
166166
{
167167
$queue = $this
168168
->getQueue()
169-
->withAdapter(new StubAdapter('test-channel'), TestQueue::HIGH_PRIORITY);
169+
->withAdapter(new StubAdapter(), TestQueue::HIGH_PRIORITY);
170170

171171
$this->assertSame('high-priority', $queue->getName());
172172
}

0 commit comments

Comments
 (0)