Skip to content

Commit c68da59

Browse files
author
Kamil Nowocin
committed
feat: Travis-CI formatting fix
1 parent a9fb8aa commit c68da59

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/test/java/com/steps/ShoppingLoggedUserSteps.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,12 +168,12 @@ public void iCanSeeModalWhereIAmAbleToSeeDetailedDataAboutMyPurchase() throws Th
168168
String.format(VIEW_ERROR, "Product added successfully header"));
169169

170170
Assert.assertEquals(productDetailsPage.popupPaneFinalProductTotalPrice.getText()
171-
.replaceAll("[^$0-9.]", "").replace(".", ","),
172-
$decimalFormat.format(contextInjection.finalProductTotalPrice), VALUE_ERROR);
171+
.replaceAll("[^$0-9.]", ""),
172+
$decimalFormat.format(contextInjection.finalProductTotalPrice).replace(",", "."), VALUE_ERROR);
173173

174174
Assert.assertEquals(productDetailsPage.popupPaneFinalOrderTotalPrice.getText()
175-
.replaceAll("[^$0-9.]", "").replace(".", ","),
176-
$decimalFormat.format(contextInjection.finalOrderTotalPrice), VALUE_ERROR);
175+
.replaceAll("[^$0-9.]", ""),
176+
$decimalFormat.format(contextInjection.finalOrderTotalPrice).replace(",", "."), VALUE_ERROR);
177177
}
178178

179179
@Step("I click on Proceed To Checkout button \\(from modal)")

0 commit comments

Comments
 (0)