Skip to content

Commit 856065d

Browse files
committed
Coinbase updated its 404 error messagee to 'HTTP status code was not OK: 404', updated to only '404' to assert futures changes from Coinbase
1 parent 691d086 commit 856065d

File tree

1 file changed

+1
-1
lines changed
  • spring-boot-starter/autoconfigure/src/test/java/tech/cassandre/trading/bot/test/core/configuration/exchange

1 file changed

+1
-1
lines changed

spring-boot-starter/autoconfigure/src/test/java/tech/cassandre/trading/bot/test/core/configuration/exchange/CoinbaseTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public void checkErrorMessages() {
2626
application.run();
2727
fail("Exception not raised");
2828
} catch (Exception e) {
29-
assertTrue(e.getCause().getMessage().contains("(HTTP status code: 404)"));
29+
assertTrue(e.getCause().getMessage().contains("404"));
3030
}
3131
}
3232

0 commit comments

Comments
 (0)