Skip to content

Commit

Permalink
Merge pull request #2953 in SW/shopware from sw-12505/5.0/fix-debit-p…
Browse files Browse the repository at this point in the history
…ayment-validation to 5.0

* commit '262ac8d1300c80995a8becd458c2e215e4946172':
  SW-12505 - Fix debut validation
  • Loading branch information
Marcel Schmäing committed Sep 11, 2015
2 parents 7ed18cd + 262ac8d commit 945009d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function validate($paymentData)
"sErrorMessages" => $sErrorMessages
);
} else {
return true;
return array();
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public function testValidateCorrectData()
];

$validationResult = self::$debitPaymentMethod->validate($data);
$this->assertTrue($validationResult);
$this->assertEmpty($validationResult);
}

public function testCreatePaymentInstanceWithNoPaymentData()
Expand Down

0 comments on commit 945009d

Please sign in to comment.