Skip to content

Commit 4b97386

Browse files
committed
Adds options to disable confirmation mails; Adds a problem solving upgrade script; Updates tests
1 parent b7abaf3 commit 4b97386

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

app/code/community/Mollie/Mpm/Helper/Api.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
class Mollie_Mpm_Helper_Api
4141
{
42-
const PLUGIN_VERSION = 'v4.0.7';
42+
const PLUGIN_VERSION = '4.0.7';
4343

4444
protected $api_key = null;
4545
protected $amount = 0;

tests/unittests/controllers/ApiControllerReportActionTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,12 +222,12 @@ public function testEverythingGoesGreat()
222222
$this->expectOrderSaved();
223223

224224
/*
225-
* We must send an email is everything is successfull
225+
* We may send an email is everything is successfull
226226
*/
227-
$this->order->expects($this->once())
227+
$this->order->expects($this->any())
228228
->method("sendNewOrderEmail")
229229
->will($this->returnValue($this->order));
230-
$this->order->expects($this->once())
230+
$this->order->expects($this->any())
231231
->method("setEmailSent")
232232
->with(TRUE);
233233

0 commit comments

Comments
 (0)