We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00b3430 commit 0ce2877Copy full SHA for 0ce2877
src/main/java/com/eliasnogueira/data/dynamic/BookingDataFactory.java
@@ -49,7 +49,7 @@ public static Booking createBookingData() {
49
password(faker.internet().password()).
50
dailyBudget(returnDailyBudget()).
51
newsletter(faker.bool().bool()).
52
- roomType(RoomType.getRandom()).
+ roomType(faker.options().option(RoomType.class)).
53
roomDescription(faker.lorem().paragraph()).
54
build();
55
0 commit comments