diff --git a/.github/workflows/boot-strategy-plugin.yml b/.github/workflows/boot-strategy-plugin.yml index 2b03f9cc2..3f8c3ef5a 100644 --- a/.github/workflows/boot-strategy-plugin.yml +++ b/.github/workflows/boot-strategy-plugin.yml @@ -76,4 +76,4 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - if: ${{ github.ref == 'refs/heads/main' }} name: Publish container image - run: docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/boot-strategy-plugin:${{ env.VERSION }} \ No newline at end of file + run: docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/boot-strategy-plugin:${{ env.VERSION }} 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 b46c50fa3..c41e5291c 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 @@ -51,7 +51,7 @@ void fetchingExcel() { .bodyJson().convertTo(ProblemDetail.class) .satisfies(problemDetail -> { assertThat(problemDetail.getDetail()).isEqualTo("Plugin not found for type: xls"); - assertThat(problemDetail.getTitle()).isEqualTo("Product not found"); + assertThat(problemDetail.getTitle()).isEqualTo("Product Not found"); assertThat(problemDetail.getStatus()).isEqualTo(400); assertThat(problemDetail.getType()).isEqualTo("https://api.service.com/errors/bad-request"); assertThat(problemDetail.getInstance()).isEqualTo("/fetch");