Uploaded image for project: 'OpenShift Java Client'
  1. OpenShift Java Client
  2. OSJC-255

Tests: DefaultClientTest has erroneous assertions for DefaultClient#equal with authorization strategies

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.0.4
    • 4.0.0
    • core
    • None

      The tests were doing erroneous comparisons:

      • assertThat(tokenClientTwo).isEqualTo(tokenClientTwo); (2x tokenClientTwo)
      • #equal was invoked on mocks and therefore wasnt using the real implementation in the auth strategies

            adietish@redhat.com André Dietisheim
            adietish@redhat.com André Dietisheim
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: