mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2025-04-07 11:07:01 +00:00
Adapt tests for new version of PHPUnit
This commit is contained in:
parent
de8b1b175a
commit
1eab2cf3be
1 changed files with 7 additions and 7 deletions
|
@ -119,13 +119,13 @@ JSON;
|
|||
$this->assertEquals('http://example.com/open_1', $model->getOpenUrl());
|
||||
$this->assertEquals('http://example.com/spam_1', $model->getSpamUrl());
|
||||
$this->assertEquals('http://example.com/unsubscribe_1', $model->getUnsubscribeUrl());
|
||||
$this->assertInternalType('array', $model->getClickedUrls());
|
||||
$this->assertInternalType('array', $model->getComplainedUrls());
|
||||
$this->assertInternalType('array', $model->getDeliveredUrls());
|
||||
$this->assertInternalType('array', $model->getOpenedUrls());
|
||||
$this->assertInternalType('array', $model->getPermanentFailUrls());
|
||||
$this->assertInternalType('array', $model->getTemporaryFailUrls());
|
||||
$this->assertInternalType('array', $model->getUnsubscribeUrls());
|
||||
$this->assertIsArray($model->getClickedUrls());
|
||||
$this->assertIsArray($model->getComplainedUrls());
|
||||
$this->assertIsArray($model->getDeliveredUrls());
|
||||
$this->assertIsArray($model->getOpenedUrls());
|
||||
$this->assertIsArray($model->getPermanentFailUrls());
|
||||
$this->assertIsArray($model->getTemporaryFailUrls());
|
||||
$this->assertIsArray($model->getUnsubscribeUrls());
|
||||
$this->assertCount(0, $model->getClickedUrls());
|
||||
$this->assertCount(0, $model->getComplainedUrls());
|
||||
$this->assertCount(0, $model->getDeliveredUrls());
|
||||
|
|
Loading…
Add table
Reference in a new issue