Merge branch 'master' into tinymce-upload-enhacment

This commit is contained in:
devansh bawari 2021-09-17 10:05:56 +05:30
commit d2282a5b0f
1 changed files with 6 additions and 0 deletions

View File

@ -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);
}
}