Fix PEAR.WhiteSpace.ScopeClosingBrace rule in tests [MAILPOET-989]

This commit is contained in:
stoletniy
2017-07-07 11:11:16 +03:00
parent 1b54e356b2
commit 22c39c0092
12 changed files with 99 additions and 69 deletions

View File

@@ -81,7 +81,9 @@ class ServicesTest extends MailPoetTest {
$this->services_endpoint->bridge = Stub::make(
new Bridge(),
array(
'checkMSSKey' => function() { throw new \Exception('test'); },
'checkMSSKey' => function() {
throw new \Exception('test');
},
'storeMSSKeyAndState' => Stub::never()
),
$this
@@ -176,7 +178,9 @@ class ServicesTest extends MailPoetTest {
$this->services_endpoint->bridge = Stub::make(
new Bridge(),
array(
'checkPremiumKey' => function() { throw new \Exception('test'); },
'checkPremiumKey' => function() {
throw new \Exception('test');
},
'storePremiumKeyAndState' => Stub::never()
),
$this