prepared, but not tested
This commit is contained in:
@ -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"));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user