Skip to content

Commit

Permalink
update test specs
Browse files Browse the repository at this point in the history
  • Loading branch information
bennettn4 committed Dec 30, 2024
1 parent a29056c commit 50dd92b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,18 +117,18 @@ class CromwellAppInstallSpec extends BaseAppInstallSpec {
"config.subscriptionId=sub," +
s"config.region=${azureRegion}," +
"config.applicationInsightsConnectionString=applicationInsightsConnectionString," +
s"config.azureEnvironment=${ConfigReader.appConfig.azure.hostingModeConfig.azureEnvironment}" +
s"config.azureEnvironment=${ConfigReader.appConfig.azure.hostingModeConfig.azureEnvironment}," +
s"config.azureManagementTokenScope=${AzureEnvironmentConverter
.fromString(ConfigReader.appConfig.azure.hostingModeConfig.azureEnvironment)
.getResourceManagerEndpoint}.default" +
.getResourceManagerEndpoint}.default," +
s"config.batchAccountSuffix=${AzureEnvironmentConverter
.batchAccountSuffixFromString(ConfigReader.appConfig.azure.hostingModeConfig.azureEnvironment)}" +
.batchAccountSuffixFromString(ConfigReader.appConfig.azure.hostingModeConfig.azureEnvironment)}," +
"relay.path=https://relay.com/app," +
"persistence.storageResourceGroup=mrg," +
"persistence.storageAccount=storage," +
s"persistence.storageAccountSuffix=${AzureEnvironmentConverter
.fromString(ConfigReader.appConfig.azure.hostingModeConfig.azureEnvironment)
.getStorageEndpointSuffix}" +
.getStorageEndpointSuffix}," +
"persistence.blobContainer=sc-container," +
"persistence.leoAppInstanceName=app1," +
s"persistence.workspaceManager.url=${ConfigReader.appConfig.azure.wsm.uri.renderString}," +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ class MockSamDAO extends SamDAO[IO] {
}

override def getLeoAuthToken: IO[Authorization] =
IO.pure(Authorization(Credentials.Token(AuthScheme.Bearer, "")))
IO.pure(Authorization(Credentials.Token(AuthScheme.Bearer, "dummytoken")))

override def getSamUserInfo(token: String)(implicit ev: Ask[IO, TraceId]): IO[Option[SamUserInfo]] =
if (token == OAuth2BearerToken(s"TokenFor${MockSamDAO.disabledUserEmail}").token)
Expand Down

0 comments on commit 50dd92b

Please sign in to comment.