Skip to content

Commit

Permalink
change test to make them working
Browse files Browse the repository at this point in the history
  • Loading branch information
Aridjar committed Dec 14, 2016
1 parent 05ae224 commit 5fe80c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/Mailjet/test.php
Expand Up @@ -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);
}
Expand All @@ -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);
}
Expand Down

0 comments on commit 5fe80c2

Please sign in to comment.