Delete redundant test

[MAILPOET-3774]
This commit is contained in:
Jan Lysý
2021-09-22 11:21:46 +02:00
committed by Veljko V
parent 2175a096e4
commit 93e038371d

View File

@@ -142,16 +142,6 @@ class InactiveSubscribersControllerTest extends \MailPoetTest {
expect($subscriber->status)->equals(Subscriber::STATUS_SUBSCRIBED);
}
public function testItDoesNotDeactivateSubscriberWhoReceivedEmailWhichWasNeverOpened() {
list($task) = $this->createCompletedSendingTask($completedDaysAgo = 2);
$subscriber = $this->createSubscriber('s1@email.com', $createdDaysAgo = 10);
$this->addSubcriberToTask($subscriber, $task);
$result = $this->controller->markInactiveSubscribers(self::INACTIVITY_DAYS_THRESHOLD, self::PROCESS_BATCH_SIZE);
expect($result)->equals(0);
$subscriber = Subscriber::findOne($subscriber->id);
expect($subscriber->status)->equals(Subscriber::STATUS_SUBSCRIBED);
}
public function testItDoesNotDeactivatesSubscribersWhenMP2MigrationHappenedWithinInterval() {
list($task) = $this->createCompletedSendingTaskWithOneOpen($completedDaysAgo = 3);