14 lines
330 B
PHP
14 lines
330 B
PHP
<?php
|
|
|
|
namespace MailPoet\Test\Util\License;
|
|
|
|
use MailPoet\Util\License\License;
|
|
|
|
class LicenseTest extends \MailPoetUnitTest {
|
|
public function testItGetsLicense() {
|
|
if (defined('MAILPOET_PREMIUM_LICENSE')) return;
|
|
expect(License::getLicense())->false();
|
|
expect(License::getLicense('valid'))->equals('valid');
|
|
}
|
|
}
|