Minor changes

This commit is contained in:
julien
2026-03-22 12:51:14 +01:00
parent 365b0b08b5
commit 7f0c07b90f
12 changed files with 40 additions and 135 deletions

View File

@@ -4,7 +4,7 @@ declare(strict_types=1);
namespace Tests\Post;
use App\Post\Application\PostServiceInterface;
use App\Post\Application\PostApplicationService;
use App\Post\Domain\Entity\Post;
use App\Post\UI\Http\RssController;
use PHPUnit\Framework\MockObject\MockObject;
@@ -23,8 +23,8 @@ use Tests\ControllerTestBase;
#[\PHPUnit\Framework\Attributes\AllowMockObjectsWithoutExpectations]
final class RssControllerTest extends ControllerTestBase
{
/** @var PostServiceInterface&MockObject */
private PostServiceInterface $postService;
/** @var PostApplicationService&MockObject */
private PostApplicationService $postService;
private RssController $controller;
@@ -33,7 +33,7 @@ final class RssControllerTest extends ControllerTestBase
protected function setUp(): void
{
$this->postService = $this->createMock(PostServiceInterface::class);
$this->postService = $this->createMock(PostApplicationService::class);
$this->controller = new RssController(
$this->postService,