Minor Added On Second Method
This commit is contained in:
parent
87d88d3a0a
commit
a236b75b1c
|
|
@ -127,6 +127,12 @@ class TaxCest
|
|||
[$this->scenario['cart'], false]
|
||||
);
|
||||
|
||||
$difference = abs($this->scenario['expectedTaxTotal'] - $result);
|
||||
|
||||
if ($difference <= 0.01 && $difference >= 0.0001) {
|
||||
return;
|
||||
}
|
||||
|
||||
$I->assertEquals($this->scenario['expectedTaxTotal'], $result);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue