Skip to content

Commit c297ec5

Browse files
committed
1 parent 0d19401 commit c297ec5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/integration/Core/Repository/SearchServiceTest.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
use Ibexa\Contracts\Core\Test\Repository\SetupFactory\Legacy;
2424
use Ibexa\Tests\Core\Repository\Common;
2525
use Ibexa\Tests\Solr\SetupFactory\LegacySetupFactory as LegacySolrSetupFactory;
26+
use RuntimeException;
2627

2728
/**
2829
* Test case for operations in the SearchService.
@@ -1272,7 +1273,7 @@ public function testFindNoPerformCount()
12721273

12731274
public function testFindNoPerformCountException()
12741275
{
1275-
$this->expectException(\RuntimeException::class);
1276+
$this->expectException(RuntimeException::class);
12761277

12771278
if (!$this->isRunningOnLegacySetup()) {
12781279
$this->markTestSkipped('Only applicable to Legacy/DB based search');
@@ -1318,7 +1319,7 @@ public function testFindLocationsNoPerformCount()
13181319

13191320
public function testFindLocationsNoPerformCountException()
13201321
{
1321-
$this->expectException(\RuntimeException::class);
1322+
$this->expectException(RuntimeException::class);
13221323

13231324
if (!$this->isRunningOnLegacySetup()) {
13241325
$this->markTestSkipped('Only applicable to Legacy/DB based search');
@@ -4860,7 +4861,7 @@ protected function simplifySearchResult(SearchResult $result)
48604861
break;
48614862

48624863
default:
4863-
throw new \RuntimeException('Unknown search result hit type: ' . get_class($hit->valueObject));
4864+
throw new RuntimeException('Unknown search result hit type: ' . get_class($hit->valueObject));
48644865
}
48654866
}
48664867
}

0 commit comments

Comments
 (0)