prepared, but not tested

This commit is contained in:
2022-11-26 22:43:23 +01:00
parent abeba4935c
commit 75a625b969
7 changed files with 136 additions and 26 deletions

View File

@ -0,0 +1,28 @@
package de.jottyfan.camporganizer.module.registration;
import static org.junit.jupiter.api.Assertions.assertTrue;
import org.junit.jupiter.api.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
/**
*
* @author jotty
*
*/
@RunWith(SpringRunner.class)
@SpringBootTest
public class TestKeycloakRepository {
@Autowired
private KeycloakRepository repository;
/**
* test registration
*/
@Test
public void testRegister() {
assertTrue(repository.register("Hans", "Dampf", "jottyfan@mail.de"));
}
}