Skip to content

Commit

Permalink
fix(test/appInitializer): update to take username and password for no…
Browse files Browse the repository at this point in the history
…rmal test user from application.properties
  • Loading branch information
ved-asole committed Dec 26, 2024
1 parent 8b35aea commit 531f327
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,13 @@ private void generateUserToken() {
}

private void insertNormalUser() {
String userEmail = "normal-user@ekart.com";
CustomerDto adminUser = CustomerDto.builder()
.customerId(2)
.email(userEmail)
.email(normalUserEmail)
.firstName("Normal")
.lastName("User")
.phoneNumber("1234567890")
.password("normal-user-test-adminPassword")
.password(normalUserPassword)
.role(AppConstant.Role.USER)
.build();
customerService.createCustomer(adminUser);
Expand Down

0 comments on commit 531f327

Please sign in to comment.