diff --git a/backend/src/main/java/com/festago/student/infrastructure/MockMailClient.java b/backend/src/main/java/com/festago/student/infrastructure/MockMailClient.java index 782baed03..960555a8f 100644 --- a/backend/src/main/java/com/festago/student/infrastructure/MockMailClient.java +++ b/backend/src/main/java/com/festago/student/infrastructure/MockMailClient.java @@ -6,7 +6,7 @@ import org.springframework.stereotype.Component; @Component -@Profile("!{dev|prod}") +@Profile({"infra", "test", "local"}) public class MockMailClient implements MailClient { @Override