Disable deprecation error for unit test

This commit is contained in:
Alex
2025-09-13 19:53:43 +03:00
parent ae53f51854
commit 4d56119fa2
@@ -92,6 +92,8 @@ final class MaxBotServiceProviderTest extends TestCase
#[PreserveGlobalState(false)]
public function itThrowsExceptionWhenGuzzleIsMissing(): void
{
error_reporting(E_ALL & ~E_DEPRECATED);
$this->expectException(LogicException::class);
$this->expectExceptionMessage(
'Guzzle HTTP client is required. Please run "composer require guzzlehttp/guzzle".'