mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Fix for TestStatelessUpdate.testWithoutChangesAndVersionColumnAndIgnoreNullValues
This commit is contained in:
@@ -64,7 +64,7 @@ public class TestStatelessUpdate extends BaseTestCase {
|
||||
// act
|
||||
EBasic basicWithoutChanges = new EBasic();
|
||||
basicWithoutChanges.setId(basic.getId());
|
||||
server.update(basicWithoutChanges, null, null, true, false);
|
||||
server.update(basicWithoutChanges);
|
||||
|
||||
// assert
|
||||
// Nothing to check, simply no exception should occur
|
||||
@@ -93,7 +93,7 @@ public class TestStatelessUpdate extends BaseTestCase {
|
||||
// act
|
||||
Customer customerWithoutChanges = new Customer();
|
||||
customerWithoutChanges.setId(customer.getId());
|
||||
server.update(customerWithoutChanges, null, null, true, false);
|
||||
server.update(customerWithoutChanges);
|
||||
|
||||
Customer result = Ebean.find(Customer.class, customer.getId());
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package com.avaje.tests.update;
|
||||
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
import com.avaje.ebean.BaseTestCase;
|
||||
|
||||
Reference in New Issue
Block a user