Remove upgrade offer
[MAILPOET-3641]
This commit is contained in:
@@ -36,13 +36,13 @@ class PHPVersionWarningsTest extends \MailPoetTest {
|
||||
public function testItPrintsWarningFor70() {
|
||||
$warning = $this->phpVersionWarning->init('7.0.0', true);
|
||||
expect($warning->getMessage())->stringContainsString('Your website is running on PHP 7.0.0');
|
||||
expect($warning->getMessage())->stringContainsString('https://www.mailpoet.com/let-us-handle-your-php-upgrade/');
|
||||
expect($warning->getMessage())->stringContainsString('https://kb.mailpoet.com/article/251-upgrading-the-websites-php-version');
|
||||
}
|
||||
|
||||
public function testItPrintsWarningFor71() {
|
||||
$warning = $this->phpVersionWarning->init('7.1.0', true);
|
||||
expect($warning->getMessage())->stringContainsString('Your website is running on PHP 7.1.0');
|
||||
expect($warning->getMessage())->stringContainsString('https://www.mailpoet.com/let-us-handle-your-php-upgrade/');
|
||||
expect($warning->getMessage())->stringContainsString('https://kb.mailpoet.com/article/251-upgrading-the-websites-php-version');
|
||||
}
|
||||
|
||||
public function testItPrintsNoWarningFor72() {
|
||||
|
Reference in New Issue
Block a user