Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kenoir committed Jan 31, 2025
1 parent b958d06 commit e81d440
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class ApiConfigTest extends AnyFunSpec with Matchers with Inside {
}

it("correctly identifies a dev environment") {
val publicRoot = "https://localhost:8080/catalogue/v2"
val publicRoot = "https://api-dev.wellcomecollection.org/catalogue/v2"
inside(
ApiConfig(
publicRootUri = Uri(publicRoot),
Expand All @@ -48,7 +48,7 @@ class ApiConfigTest extends AnyFunSpec with Matchers with Inside {
) {
case apiConfig@ApiConfig(publicScheme, publicHost, publicRootPath, _) =>
publicScheme shouldBe "https"
publicHost shouldBe "localhost"
publicHost shouldBe "api-dev.wellcomecollection.org"
publicRootPath shouldBe "/catalogue/v2"
apiConfig.environment shouldBe ApiEnvironment.Dev
}
Expand Down

0 comments on commit e81d440

Please sign in to comment.