Exemplo n.º 1
0
 /**
  * @Then I should see that I have to pay :paymentAmount for this order
  * @Then I should see :paymentTotal as payment total
  */
 public function iShouldSeeIHaveToPayForThisOrder($paymentAmount)
 {
     Assert::same($this->orderShowPage->getPaymentPrice(), $paymentAmount, 'Payment total is %s, but should be %s.');
 }
Exemplo n.º 2
0
 /**
  * @Then I should see that I have to pay :paymentAmount for this order
  */
 public function iShouldSeeIHaveToPayForThisOrder($paymentAmount)
 {
     $actualAmount = $this->orderShowPage->getPaymentPrice();
     Assert::eq($paymentAmount, $actualAmount);
 }