Skip to content

Commit 9acd8be

Browse files
committed
test: update app test using room builder with static method
Signed-off-by: Otavio Santana <[email protected]>
1 parent 3a7842c commit 9acd8be

File tree

1 file changed

+1
-1
lines changed
  • src/test/java/org/soujava/demos/mongodb/document

1 file changed

+1
-1
lines changed

src/test/java/org/soujava/demos/mongodb/document/AppTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class AppTest {
2929

3030
@Test
3131
void shouldTest() {
32-
Room room = new RoomBuilder()
32+
Room room = Room.builder()
3333
.id("room-1")
3434
.roomNumber(101)
3535
.type(RoomType.SUITE)

0 commit comments

Comments
 (0)