diff --git a/test/Mailjet/test.php b/test/Mailjet/test.php index 5c878b1..4ccbb2e 100644 --- a/test/Mailjet/test.php +++ b/test/Mailjet/test.php @@ -63,7 +63,7 @@ public function testPost() 'MJ-custom-ID' => 'Hello ID', ]; - $ret = $client->post(Resources::$Email, ['body' => $email], ['version' => 'v3']); + $ret = $client->post(Resources::$Email, ['body' => $email]); $this->assertUrl('/send', $ret); $this->assertPayload($email, $ret); } @@ -80,7 +80,7 @@ public function testPostV3_1() ]] ]; - $ret = $client->post(Resources::$Email, ['body' => $email]); + $ret = $client->post(Resources::$Email, ['body' => $email], ['version' => 'v3.1']); $this->assertUrl('/send', $ret, 'v3.1'); $this->assertPayload($email, $ret); }