Update Sender Domain inline notice

Remove unused notices displayed before enforcement date.

[MAILPOET-5844]
This commit is contained in:
Brezo Cordero
2024-01-30 16:30:16 -06:00
committed by Aschepikov
parent 01afa2ef31
commit 1e373ab7e0
7 changed files with 4 additions and 58 deletions

View File

@@ -426,13 +426,6 @@ class AuthorizedSenderDomainControllerTest extends \MailPoetTest {
$this->assertFalse($this->getController()->isNewUser());
}
public function testItKnowsWhenNewRestrictionsStartGettingEnforced(): void {
Carbon::setTestNow(Carbon::parse('2024-01-31 00:00:00 UTC'));
$this->assertFalse($this->getController()->isEnforcementOfNewRestrictionsInEffect());
Carbon::setTestNow(Carbon::parse('2024-02-01 00:00:01 UTC'));
$this->assertTrue($this->getController()->isEnforcementOfNewRestrictionsInEffect());
}
public function testIsSmallSenderIfSubscribersUnderLowerLimit(): void {
$subscribersMock = $this->make(Subscribers::class, [
'getSubscribersCount' => Expected::once($this->lowerLimit),