Skip to content
Snippets Groups Projects
Commit f3c765be authored by Martin Gargalovič's avatar Martin Gargalovič
Browse files

refactored DataInitializer

parent 5aab010c
No related branches found
No related tags found
3 merge requests!31M2,!28M2 user,!27Draft: M2 user
...@@ -23,7 +23,8 @@ public class DataInitializer implements ApplicationRunner { ...@@ -23,7 +23,8 @@ public class DataInitializer implements ApplicationRunner {
.lastName("Doe") .lastName("Doe")
.username("johnD") .username("johnD")
.password("password") .password("password")
.userType(UserType.ADMIN).address(Address.builder() .userType(UserType.ADMIN)
.address(Address.builder()
.city("Brno") .city("Brno")
.country("CZ") .country("CZ")
.street("Hrnčírska") .street("Hrnčírska")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment