Skip to content

Commit

Permalink
fix: sso tests build
Browse files Browse the repository at this point in the history
  • Loading branch information
Anty0 committed Mar 3, 2025
1 parent 3770dc9 commit e0b1617
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ class SsoOrganizationsTest : AuthorizedControllerTest() {
enabledFeaturesProvider.forceEnabled = setOf(Feature.SSO)
currentDateProvider.forcedDate = currentDateProvider.date
tolgeeProperties.authentication.ssoOrganizations.enabled = true
tolgeeProperties.authentication.ssoOrganizations.allowedDomains = listOf("domain.com")
testData = SsoTestData()
testData.addTenant()
testDataService.saveTestData(testData.root)
Expand All @@ -81,7 +80,6 @@ class SsoOrganizationsTest : AuthorizedControllerTest() {
fun tearDown() {
testDataService.cleanTestData(testData.root)
tolgeeProperties.authentication.ssoOrganizations.enabled = false
tolgeeProperties.authentication.ssoOrganizations.allowedDomains = emptyList()
currentDateProvider.forcedDate = null
enabledFeaturesProvider.forceEnabled = null
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ class SsoProviderControllerTest : AuthorizedControllerTest() {
fun setup() {
enabledFeaturesProvider.forceEnabled = setOf(Feature.SSO)
tolgeeProperties.authentication.ssoOrganizations.enabled = true
tolgeeProperties.authentication.ssoOrganizations.allowedDomains = listOf("google")
testData = SsoTestData()
testDataService.saveTestData(testData.root)
this.userAccount = testData.user
Expand All @@ -34,7 +33,6 @@ class SsoProviderControllerTest : AuthorizedControllerTest() {
testDataService.cleanTestData(testData.root)
enabledFeaturesProvider.forceEnabled = null
tolgeeProperties.authentication.ssoOrganizations.enabled = false
tolgeeProperties.authentication.ssoOrganizations.allowedDomains = emptyList()
}

@Test
Expand Down

0 comments on commit e0b1617

Please sign in to comment.