From e9098969adae640f343312a1d192a0b052b5ec68 Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Mon, 18 May 2026 07:18:31 +0700 Subject: [PATCH] Fix PHPUnit notice use stub over mock --- tests/Documentation/DocumentationMenuFactoryTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Documentation/DocumentationMenuFactoryTest.php b/tests/Documentation/DocumentationMenuFactoryTest.php index 9ed69d2a5..07322b917 100644 --- a/tests/Documentation/DocumentationMenuFactoryTest.php +++ b/tests/Documentation/DocumentationMenuFactoryTest.php @@ -16,7 +16,7 @@ final class DocumentationMenuFactoryTest extends TestCase protected function setUp(): void { - $urlGenerator = $this->createMock(UrlGenerator::class); + $urlGenerator = $this->createStub(UrlGenerator::class); $urlGenerator ->method('action') ->willReturn('/index.html');