Skip to content

Commit e212ca7

Browse files
committed
fix
1 parent ba10b08 commit e212ca7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pkg/enqueue-bundle/Tests/Functional/UseCasesTest.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -329,13 +329,12 @@ protected function customSetUp(array $enqueueConfig)
329329
$driver = $this->container->get('enqueue.client.driver');
330330
$context = $this->getPsrContext();
331331

332-
$queue = $driver->createQueue('test');
332+
$driver->setupBroker();
333333

334+
$queue = $driver->createQueue('test');
334335
if (method_exists($context, 'purgeQueue')) {
335336
$context->purgeQueue($queue);
336337
}
337-
338-
$driver->setupBroker();
339338
}
340339

341340
/**

0 commit comments

Comments
 (0)