diff --git a/tests/Notification/NtfyTest.php b/tests/Notification/NtfyTest.php index 729847d..51d310e 100644 --- a/tests/Notification/NtfyTest.php +++ b/tests/Notification/NtfyTest.php @@ -13,15 +13,15 @@ use PHPUnit\Framework\MockObject\MockObject; final class NtfyTest extends TestCase { + /** + * @psalm-suppress PropertyNotSetInConstructor + */ private Ntfy $instance; + /** + * @psalm-suppress PropertyNotSetInConstructor + */ private MockObject $client; - public function __construct($name) - { - parent::__construct($name); - $this->setUp(); - } - protected function setUp(): void { $this->client = $this->createMock(Client::class);