Merge pull request #5157 from devansh-webkul/test-check
Minor check added on the second method also
This commit is contained in:
commit
55df44dd80
|
|
@ -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