Skip to content

Commit

Permalink
IBX-8176: Applied review remarks
Browse files Browse the repository at this point in the history
  • Loading branch information
barw4 committed May 23, 2024
1 parent 0aeb95a commit 77f5209
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions tests/bundle/Functional/LocationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,6 @@ private function createUrlAlias(string $locationHref, string $urlAlias): string
}

/**
* @covers \Ibexa\Rest\Server\Controller\Location::moveLocation
*
* @depends testMoveSubtree
*/
public function testMoveLocation(string $locationHref): void
Expand Down
4 changes: 1 addition & 3 deletions tests/lib/Server/Input/Parser/MoveLocationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ final class MoveLocationTest extends BaseTest
{
private const int TESTED_LOCATION_ID = 22;

/** @var \PHPUnit\Framework\MockObject\MockObject&\Ibexa\Contracts\Core\Repository\LocationService */
private MockObject $locationService;
private MockObject&LocationService $locationService;

public function testParse(): void
{
Expand Down Expand Up @@ -79,7 +78,6 @@ public function testParseExceptionOnInvalidDestinationElement(): void

protected function internalGetParser(): MoveLocation
{
/** @var \Ibexa\Contracts\Core\Repository\LocationService&\PHPUnit\Framework\MockObject\MockObject $locationService */
$locationService = $this->createMock(LocationService::class);
$this->locationService = $locationService;

Expand Down

0 comments on commit 77f5209

Please sign in to comment.