Skip to content

Commit

Permalink
Fix test TestLazyJoin2
Browse files Browse the repository at this point in the history
  • Loading branch information
rbygrave committed Dec 18, 2024
1 parent 103e832 commit 5dc165d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public void testLazyOnNonLoaded() {
assertNotNull(billingAddress);

List<Order> list = DB.find(Order.class).fetchLazy("customer", "name")
.fetch("customer.contacts", "contactName, phone, email").fetch("customer.shippingAddress")
.fetch("customer.contacts", "firstName, lastName, phone, email").fetch("customer.shippingAddress")
.where().eq("status", Order.Status.NEW).order().asc("id").findList();

Order order2 = list.get(0);
Expand Down

0 comments on commit 5dc165d

Please sign in to comment.