Files
piratepoet/mailpoet/tests/unit/Util/License/LicenseTest.php
Rodrigo Primo 997f635d4a Replace expect()->false() with verify()->false()
codeception/verify 2.1 removed support for expect()->false() so we need
to replace it with verify()->false().

[MAILPOET-5664]
2023-10-24 08:58:22 +03:00

14 lines
357 B
PHP

<?php declare(strict_types = 1);
namespace MailPoet\Test\Util\License;
use MailPoet\Util\License\License;
class LicenseTest extends \MailPoetUnitTest {
public function testItGetsLicense() {
if (defined('MAILPOET_PREMIUM_LICENSE')) return;
verify(License::getLicense())->false();
verify(License::getLicense('valid'))->equals('valid');
}
}