mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2025-02-20 14:53:15 +03:00
style: run php-cs-fixes
This commit is contained in:
parent
562cda2504
commit
7728cf393c
@ -81,16 +81,16 @@ class WebhookTest extends TestCase
|
|||||||
$this->setRequestBody([
|
$this->setRequestBody([
|
||||||
[
|
[
|
||||||
'name' => 'id',
|
'name' => 'id',
|
||||||
'content' => 'opened'
|
'content' => 'opened',
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'name' => 'url',
|
'name' => 'url',
|
||||||
'content' => 'url_1'
|
'content' => 'url_1',
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'name' => 'url',
|
'name' => 'url',
|
||||||
'content' => 'url_2'
|
'content' => 'url_2',
|
||||||
]
|
],
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$api = $this->getApiInstance('key');
|
$api = $this->getApiInstance('key');
|
||||||
@ -105,16 +105,16 @@ class WebhookTest extends TestCase
|
|||||||
$this->setRequestBody([
|
$this->setRequestBody([
|
||||||
[
|
[
|
||||||
'name' => 'url',
|
'name' => 'url',
|
||||||
'content' => 'url_1'
|
'content' => 'url_1',
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'name' => 'url',
|
'name' => 'url',
|
||||||
'content' => 'url_2'
|
'content' => 'url_2',
|
||||||
]
|
],
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$api = $this->getApiInstance('key');
|
$api = $this->getApiInstance('key');
|
||||||
$api->update('example.com', '4711', ['url_1', 'url_2'] );
|
$api->update('example.com', '4711', ['url_1', 'url_2']);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testDelete()
|
public function testDelete()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user