Skip to content

Commit cc588b4

Browse files
committed
chore: replaced deprecated password()
1 parent e5e7c45 commit cc588b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/eliasnogueira/data/dynamic/BookingDataFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public static Booking createBookingData() {
4646
var booking = new Booking.BookingBuilder().
4747
email(faker.internet().emailAddress()).
4848
country(returnRandomCountry()).
49-
password(faker.internet().password()).
49+
password(faker.credentials().password()).
5050
dailyBudget(returnDailyBudget()).
5151
newsletter(faker.bool().bool()).
5252
roomType(faker.options().option(RoomType.class)).

0 commit comments

Comments
 (0)