Skip to content

Commit df003ae

Browse files
committed
Resolve syntax error
1 parent 9257a0a commit df003ae

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/EmailsTests.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ public function testCreateSendText()
252252

253253
$subject = "New message";
254254

255-
$options = new MessageCreateOptions($serverName);
255+
$options = new MessageCreateOptions();
256256
$options->to = 'anything@' . self::$verifiedDomain;
257257
$options->send = TRUE;
258258
$options->subject = $subject;
@@ -270,7 +270,7 @@ public function testCreateSendHtml()
270270

271271
$subject = "New HTML message";
272272

273-
$options = new MessageCreateOptions($serverName);
273+
$options = new MessageCreateOptions();
274274
$options->to = 'anything@' . self::$verifiedDomain;
275275
$options->send = TRUE;
276276
$options->subject = $subject;
@@ -289,7 +289,7 @@ public function testForwardText()
289289
$body = "Forwarded message";
290290
$targetEmailId = self::$emails[0]->id;
291291

292-
$options = new MessageForwardOptions($serverName);
292+
$options = new MessageForwardOptions();
293293
$options->to = 'anything@' . self::$verifiedDomain;
294294
$options->text = $body;
295295

@@ -306,7 +306,7 @@ public function testForwardHtml()
306306
$body = "<p>Forwarded <strong>HTML</strong> message.</p>";
307307
$targetEmailId = self::$emails[0]->id;
308308

309-
$options = new MessageForwardOptions($serverName);
309+
$options = new MessageForwardOptions();
310310
$options->to = 'anything@' . self::$verifiedDomain;
311311
$options->html = $body;
312312

@@ -323,7 +323,7 @@ public function testReplyText()
323323
$body = "Reply message";
324324
$targetEmailId = self::$emails[0]->id;
325325

326-
$options = new MessageReplyOptions($serverName);
326+
$options = new MessageReplyOptions();
327327
$options->text = $body;
328328

329329
$message = self::$client->messages->reply($targetEmailId, $options);
@@ -339,7 +339,7 @@ public function testReplyHtml()
339339
$body = "<p>Reply <strong>HTML</strong> message.</p>";
340340
$targetEmailId = self::$emails[0]->id;
341341

342-
$options = new MessageReplyOptions($serverName);
342+
$options = new MessageReplyOptions();
343343
$options->html = $body;
344344

345345
$message = self::$client->messages->reply($targetEmailId, $options);

0 commit comments

Comments
 (0)