mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
There should be only one "Rob" in o_customer (#1515)
* FIX: CsvReader-Test * Fixes for tests * reversed changes * tidy TestCsvReaderWithCallback
This commit is contained in:
committed by
Rob Bygrave
parent
bdc9917811
commit
fecb5fa731
@@ -54,7 +54,7 @@ public class TestTransient extends BaseTestCase {
|
||||
selected = c.getSelected();
|
||||
Assert.assertNotNull(selected);
|
||||
|
||||
String updateStmt = "update customer set name = 'Rob' where id = :id";
|
||||
String updateStmt = "update customer set name = 'testTrans2' where id = :id";
|
||||
int rows = Ebean.createUpdate(Customer.class, updateStmt).set("id", custId).execute();
|
||||
|
||||
Assert.assertTrue("changed name back", 1 == rows);
|
||||
|
||||
Reference in New Issue
Block a user