Merge branch 'tests' into 'dev'
Tests See merge request sa4-2020/the-sanmarinoes/backend!204
This commit is contained in:
commit
3bb8f1b394
1 changed files with 22 additions and 0 deletions
|
@ -0,0 +1,22 @@
|
|||
package ch.usi.inf.sa4.sanmarinoes.smarthut.config;
|
||||
|
||||
import static org.assertj.core.api.AssertionsForClassTypes.assertThat;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
public class EmailConfigurationServiceTests {
|
||||
@Test
|
||||
public void test() {
|
||||
final EmailConfigurationService s = new EmailConfigurationService();
|
||||
s.setResetPasswordSubject("s");
|
||||
s.setResetPassword("s");
|
||||
s.setResetPasswordPath("s");
|
||||
s.setResetPasswordRedirect("s");
|
||||
s.setRegistrationRedirect("s");
|
||||
assertThat(s.getResetPasswordSubject()).isEqualTo("s");
|
||||
assertThat(s.getResetPassword()).isEqualTo("s");
|
||||
assertThat(s.getResetPasswordPath()).isEqualTo("s");
|
||||
assertThat(s.getResetPasswordRedirect()).isEqualTo("s");
|
||||
assertThat(s.getRegistrationRedirect()).isEqualTo("s");
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue