#2335 - Modify test - Put back readOnly assert (#2340)

This commit is contained in:
rbygrave
2021-09-02 19:03:54 +12:00
parent 6fe6b8ba64
commit e0afeea6c4
@@ -37,7 +37,7 @@ public class TestReadOnlyPropagation extends BaseTestCase {
Address billingAddress = customer.getBillingAddress();
assertNotNull(billingAddress);
//Assert.assertTrue(Ebean.getBeanState(billingAddress).isReadOnly());
Assert.assertTrue(DB.getBeanState(billingAddress).isReadOnly());
List<OrderDetail> details = order.getDetails();