We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4f8ec26 + 7ac138c commit 4c91fe0Copy full SHA for 4c91fe0
1 file changed
tests/ConvertKitAPITest.php
@@ -4060,6 +4060,9 @@ public function testUnsubscribeByEmail()
4060
email_address: $emailAddress
4061
);
4062
4063
+ // Wait a moment to ensure subscriber is created.
4064
+ sleep(3);
4065
+
4066
// Unsubscribe.
4067
$this->assertNull($this->api->unsubscribe_by_email($emailAddress));
4068
}
@@ -4107,6 +4110,9 @@ public function testUnsubscribe()
4107
4110
4108
4111
4109
4112
4113
4114
4115
4116
4117
$this->assertNull($this->api->unsubscribe($result->subscriber->id));
4118
0 commit comments