Skip to content

Commit

Permalink
GH-1828 Fix MavenFacadeTest
Browse files Browse the repository at this point in the history
  • Loading branch information
dzikoysk committed Jun 21, 2023
1 parent 2c32df5 commit 151b35a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ internal class MavenFacadeTest : MavenSpecification() {
var availableRepositories = findRepositories(UNAUTHORIZED)

// then: response contains only public repositories
assertThat(availableRepositories).isEqualTo(listOf(PUBLIC.name, "PROXIED"))
assertThat(availableRepositories).isEqualTo(listOf(PUBLIC.name, "PROXIED", "PROXIED-LOOPBACK"))

// given: a token with access to private repository
val accessToken = createAccessToken("name", "secret", PRIVATE.name, "gav", WRITE)
Expand All @@ -80,7 +80,7 @@ internal class MavenFacadeTest : MavenSpecification() {
availableRepositories = findRepositories(accessToken)

// then: response contains authorized repositories
assertThat(availableRepositories).isEqualTo(listOf(PRIVATE.name, PUBLIC.name, "PROXIED"))
assertThat(availableRepositories).isEqualTo(listOf(PRIVATE.name, PUBLIC.name, "PROXIED", "PROXIED-LOOPBACK"))
}

@ParameterizedTest
Expand Down

0 comments on commit 151b35a

Please sign in to comment.