diff options
Diffstat (limited to 'lib/Command/Test.php')
-rw-r--r-- | lib/Command/Test.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/Command/Test.php b/lib/Command/Test.php index c227b99..7bf375b 100644 --- a/lib/Command/Test.php +++ b/lib/Command/Test.php @@ -187,9 +187,12 @@ class Test extends ExtendedBase { * @throws ProviderIsNotUniqueException */ private function generateMockProvider() { - $this->providerService->loadProvider('OCA\FullTextSearch\Provider\TestProvider'); + $this->providerService->loadProvider( + 'fulltextsearch', 'OCA\FullTextSearch\Provider\TestProvider' + ); + $providerWrapper = $this->providerService->getProvider(TestProvider::TEST_PROVIDER_ID); - return $this->providerService->getProvider(TestProvider::TEST_PROVIDER_ID); + return $providerWrapper->getProvider(); } |