-
-
Notifications
You must be signed in to change notification settings - Fork 224
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Setting test frontend URL globally
- Loading branch information
Showing
6 changed files
with
11 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,7 +73,6 @@ class MarketingEmailingTest : AuthorizedControllerTest() { | |
@BeforeEach | ||
fun setup() { | ||
Mockito.clearInvocations(mailjetEmailServiceManager) | ||
tolgeeProperties.frontEndUrl = "https://aaa" | ||
tolgeeProperties.smtp.from = "[email protected]" | ||
emailTestUtil.initMocks() | ||
} | ||
|
@@ -98,7 +97,6 @@ class MarketingEmailingTest : AuthorizedControllerTest() { | |
|
||
@Test | ||
fun `adds contact after verification when needs-verification is on`() { | ||
tolgeeProperties.frontEndUrl = "https://aaa" | ||
tolgeeProperties.authentication.needsEmailVerification = true | ||
val dto = SignUpDto(name = testName, password = "aaaaaaaaaa", email = testMail) | ||
performPost("/api/public/sign_up", dto) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,7 +38,6 @@ class EmailVerificationTest : AbstractControllerTest() { | |
|
||
private fun resetProperties() { | ||
tolgeeProperties.authentication.needsEmailVerification = false | ||
tolgeeProperties.frontEndUrl = "dummy_frontend_url" | ||
tolgeeProperties.smtp.from = "[email protected]" | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters