Skip to content

Commit

Permalink
fixup! feat(advanced-search): allow date and recipient search
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
  • Loading branch information
ChristophWurst committed Nov 10, 2023
1 parent a8e8764 commit 6324840
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/Unit/Search/FilteringProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@
use OCA\Mail\Search\FilteringProvider;
use OCP\IUser;
use OCP\Search\IFilter;
use OCP\Search\IFilteringProvider;
use OCP\Search\ISearchQuery;
use function interface_exists;

/**
* @covers \OCA\Mail\Search\FilteringProvider
Expand All @@ -44,6 +46,10 @@ class FilteringProviderTest extends TestCase {
protected function setUp(): void {
parent::setUp();

if (!interface_exists(IFilteringProvider::class)) {
$this->markTestSkipped('Base class missing');
}

$this->serviceMock = $this->createServiceMock(FilteringProvider::class);
$this->provider = $this->serviceMock->getService();
}
Expand Down

0 comments on commit 6324840

Please sign in to comment.