Skip to content

Commit

Permalink
[BUGFIX] Fix coding standards issues
Browse files Browse the repository at this point in the history
  • Loading branch information
dkd-friedrich committed Jan 13, 2025
1 parent 0ed8966 commit 1f3a281
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function addFacetItemWillUseUriBuilderAsExpected(): void
$viewHelper->setRenderingContext($renderContextMock);

$searchUriBuilderMock = $this->createMock(SearchUriBuilder::class);
$requestUriBuilderStub = $this->createStub(RequestBuilder::class);
$requestUriBuilderStub = self::createStub(RequestBuilder::class);

// we expected that the getAddFacetOptionUri will be called on the searchUriBuilder in the end.
$searchUriBuilderMock->expects(self::once())->method('getAddFacetValueUri')->with($facet->getResultSet()->getUsedSearchRequest(), 'Color', 'red');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function setFacetItemWillUseUriBuilderAsExpected(): void
$searchResultSetMock = $this->createMock(SearchResultSet::class);
$searchResultSetMock->expects(self::once())->method('getUsedSearchRequest')->willReturn($mockedPreviousFakedRequest);

$requestUriBuilderStub = $this->createStub(RequestBuilder::class);
$requestUriBuilderStub = self::createStub(RequestBuilder::class);
$requestUriBuilderStub->method('build')->willReturn($mockedControllerRequest);

$variableProvideMock = $this->createMock(StandardVariableProvider::class);
Expand Down

0 comments on commit 1f3a281

Please sign in to comment.