We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 14af224 + f5a52e9 commit 34463b0Copy full SHA for 34463b0
tests/lib/TestCase.php
@@ -27,6 +27,7 @@
27
use OC\Command\QueueBus;
28
use OC\Files\Filesystem;
29
use OC\Template\Base;
30
+use OCP\Command\IBus;
31
use OCP\DB\QueryBuilder\IQueryBuilder;
32
use OCP\Defaults;
33
use OCP\IDBConnection;
@@ -119,6 +120,7 @@ protected function setUp(): void {
119
120
// overwrite the command bus with one we can run ourselves
121
$this->commandBus = new QueueBus();
122
$this->overwriteService('AsyncCommandBus', $this->commandBus);
123
+ $this->overwriteService(IBus::class, $this->commandBus);
124
125
// detect database access
126
self::$wasDatabaseAllowed = true;
0 commit comments