From ee5137fb66b709dba3b3dc05458f477de9a16ff6 Mon Sep 17 00:00:00 2001 From: Raja Kolli Date: Sun, 22 Dec 2024 07:56:11 +0000 Subject: [PATCH] converts URI to string --- .../plugin/strategyplugin/StrategyPluginApplicationTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot-strategy-plugin/src/test/java/com/example/plugin/strategyplugin/StrategyPluginApplicationTests.java b/boot-strategy-plugin/src/test/java/com/example/plugin/strategyplugin/StrategyPluginApplicationTests.java index 73dc15c93..ff5653af8 100644 --- a/boot-strategy-plugin/src/test/java/com/example/plugin/strategyplugin/StrategyPluginApplicationTests.java +++ b/boot-strategy-plugin/src/test/java/com/example/plugin/strategyplugin/StrategyPluginApplicationTests.java @@ -54,7 +54,7 @@ void fetchingExcel() { assertThat(problemDetail.getTitle()).isEqualTo("Product Not Found"); assertThat(problemDetail.getStatus()).isEqualTo(400); assertThat(problemDetail.getType().toString()).isEqualTo("https://api.service.com/errors/bad-request"); - assertThat(problemDetail.getInstance()).isEqualTo("/fetch"); + assertThat(problemDetail.getInstance().toString()).isEqualTo("/fetch"); }); } } \ No newline at end of file