Files
piratepoet/mailpoet/tests/integration/Util/Notices/DatabaseEngineNoticeTest.php
Pavel Dohnal 3c9cde6a45 Add an empty test
[MAILPOET-6184]
2024-08-22 14:33:54 +02:00

24 lines
516 B
PHP

<?php declare(strict_types = 1);
namespace MailPoet\Util\Notices;
use MailPoet\WP\Functions as WPFunctions;
class DatabaseEngineNoticeTest extends \MailPoetTest {
/** @var DatabaseEngineNotice */
private $notice;
public function _before() {
parent::_before();
$this->notice = new DatabaseEngineNotice(
new WPFunctions()
);
}
public function testItDoesntDisplayWhenDisabled() {
$this->notice->disable();
$result = $this->notice->init(true);
verify($result)->null();
}
}