Adapt tests for new version of PHPUnit

This commit is contained in:
Sven Rymenants 2021-03-03 22:54:04 +01:00 committed by David Garcia
parent de8b1b175a
commit 1eab2cf3be

View File

@ -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());