Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
KSmigielski committed Nov 18, 2024
1 parent fc51904 commit 0c707e2
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ package pl.allegro.tech.servicemesh.envoycontrol
import org.assertj.core.api.Assertions.assertThat
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.extension.RegisterExtension
import pl.allegro.tech.servicemesh.envoycontrol.assertions.isFrom
import pl.allegro.tech.servicemesh.envoycontrol.assertions.isOk
import pl.allegro.tech.servicemesh.envoycontrol.config.consul.ConsulExtension
import pl.allegro.tech.servicemesh.envoycontrol.config.envoy.EnvoyExtension
import pl.allegro.tech.servicemesh.envoycontrol.config.envoycontrol.EnvoyControlExtension
Expand Down Expand Up @@ -52,6 +54,6 @@ internal class CustomRouteTest {
endpoint = "/status/wrapper/prometheus"
)
// then
assertThat(response.isSuccessful).isTrue()
assertThat(response).isOk().isFrom(wrapper)
}
}

0 comments on commit 0c707e2

Please sign in to comment.