mirror of
https://github.com/BushlanovDev/max-bot-api-client-php.git
synced 2026-08-17 14:49:56 +00:00
Disable deprecation error for unit test
This commit is contained in:
@@ -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".'
|
||||
|
||||
Reference in New Issue
Block a user