mirror of
https://github.com/BushlanovDev/max-bot-api-client-php.git
synced 2026-08-26 17:37:05 +00:00
Added attachment RequestContactButton & RequestGeoLocationButton
This commit is contained in:
@@ -74,6 +74,7 @@ final class ClientTest extends TestCase
|
||||
$this->httpClientMock,
|
||||
$this->requestFactoryMock,
|
||||
$this->streamFactoryMock,
|
||||
self::API_BASE_URL,
|
||||
self::API_VERSION,
|
||||
);
|
||||
}
|
||||
@@ -84,7 +85,7 @@ final class ClientTest extends TestCase
|
||||
$this->expectException(InvalidArgumentException::class);
|
||||
$this->expectExceptionMessage('Access token cannot be empty.');
|
||||
|
||||
new Client('', $this->httpClientMock, $this->requestFactoryMock, $this->streamFactoryMock);
|
||||
new Client('', $this->httpClientMock, $this->requestFactoryMock, $this->streamFactoryMock, '', '');
|
||||
}
|
||||
|
||||
#[Test]
|
||||
|
||||
Reference in New Issue
Block a user