Skip to content

Commit 8d888d9

Browse files
committed
Disable mail health in local dev
1 parent 3f72c6a commit 8d888d9

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

server/src/main/resources/application.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,9 @@ springdoc:
222222
use-basic-authentication-with-access-code-grant: true
223223

224224
management:
225+
health:
226+
mail:
227+
enabled: false
225228
endpoints:
226229
web:
227230
exposure:

server/src/test/java/invite/AccessApplicationTest.java renamed to server/src/test/java/invite/InviteServerApplicationTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@
99
import static io.restassured.RestAssured.given;
1010
import static org.hamcrest.Matchers.equalTo;
1111

12-
class AccessApplicationTest {
12+
class InviteServerApplicationTest {
1313

1414
@Test
1515
void mainApp() {
16-
ConfigurableApplicationContext applicationContext = SpringApplication.run(InviteServerApplication.class, new String[]{"--server.port=8098"});
16+
ConfigurableApplicationContext applicationContext =
17+
SpringApplication.run(InviteServerApplication.class, "--server.port=8098");
1718
RestAssured.port = 8098;
1819

1920
given()

0 commit comments

Comments
 (0)