Uploaded image for project: 'Quarkus'
  1. Quarkus
  2. QUARKUS-2167

Add inject example as a comment & rm the tests in rest-client codestart

    XMLWordPrintable

Details

    Description

      Follow up on https://github.com/quarkusio/quarkus/pull/24544

      Fixes #24553

      Generally speaking, having a test on a remote rest endpoint is a bad practice. In this case, it is more testing the rest service and the rest-client implementation than the actual code. Mocking might be a better option but let's leave this choice open to the developer. I've added the injection code snippet as a comment directly in the service and removed the test.

      Attachments

        Activity

          People

            Unassigned Unassigned
            probinso_jira Quarkus JIRA Bot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: