@@ -248,6 +248,8 @@ public function testAll()
248
248
249
249
public function testCreateSendText ()
250
250
{
251
+ if (empty (self ::$ verifiedDomain )) { $ this ->markTestSkipped (); }
252
+
251
253
$ subject = "New message " ;
252
254
253
255
$ options = new MessageCreateOptions ($ serverName );
@@ -264,6 +266,8 @@ public function testCreateSendText()
264
266
265
267
public function testCreateSendHtml ()
266
268
{
269
+ if (empty (self ::$ verifiedDomain )) { $ this ->markTestSkipped (); }
270
+
267
271
$ subject = "New HTML message " ;
268
272
269
273
$ options = new MessageCreateOptions ($ serverName );
@@ -280,6 +284,8 @@ public function testCreateSendHtml()
280
284
281
285
public function testForwardText ()
282
286
{
287
+ if (empty (self ::$ verifiedDomain )) { $ this ->markTestSkipped (); }
288
+
283
289
$ body = "Forwarded message " ;
284
290
$ targetEmailId = self ::$ emails [0 ]->id ;
285
291
@@ -295,6 +301,8 @@ public function testForwardText()
295
301
296
302
public function testForwardHtml ()
297
303
{
304
+ if (empty (self ::$ verifiedDomain )) { $ this ->markTestSkipped (); }
305
+
298
306
$ body = "<p>Forwarded <strong>HTML</strong> message.</p> " ;
299
307
$ targetEmailId = self ::$ emails [0 ]->id ;
300
308
@@ -310,6 +318,8 @@ public function testForwardHtml()
310
318
311
319
public function testReplyText ()
312
320
{
321
+ if (empty (self ::$ verifiedDomain )) { $ this ->markTestSkipped (); }
322
+
313
323
$ body = "Reply message " ;
314
324
$ targetEmailId = self ::$ emails [0 ]->id ;
315
325
@@ -324,6 +334,8 @@ public function testReplyText()
324
334
325
335
public function testReplyHtml ()
326
336
{
337
+ if (empty (self ::$ verifiedDomain )) { $ this ->markTestSkipped (); }
338
+
327
339
$ body = "<p>Reply <strong>HTML</strong> message.</p> " ;
328
340
$ targetEmailId = self ::$ emails [0 ]->id ;
329
341
0 commit comments