tests #43

Merged
sebastian merged 41 commits from tests into master 2023-11-11 11:20:50 +01:00
Showing only changes of commit 5ba2fb6509 - Show all commits

View File

@ -31,7 +31,7 @@ public class UserRepositoryTests {
userRepository.save(new User(1L,"FawKes100", "mail@fawkes100.de", "123456"));
Optional<User> findResult = userRepository.findByUsername("FawKes100");
assertFalse(findResult.isPresent());
assertTrue(findResult.isPresent());
assertEquals(new User(1L, "FawKes100", "mail@fawkes100.de", "123456"),findResult.get());
}
}