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

This commit is contained in:
rbygrave committed 2021-09-02 19:03:54 +12:00
1 parent 6fe6b8ba64
commit e0afeea6c4
1 file changed
+1 -1
@@ -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();