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:
Roland Praml
2018-10-25 10:35:02 +13:00
committed by Rob Bygrave
parent bdc9917811
commit fecb5fa731
2 changed files with 2 additions and 2 deletions
@@ -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);
+1 -1
View File
@@ -1,4 +1,4 @@
10000,NEW,"Rob",01-JAN-2009,"12 someplace",Auckland,NZ
10000,NEW,"Roland",01-JAN-2009,"12 someplace",Auckland,NZ
,ACTIVE,"Greg",14-FEB-2009,"13 someplace",Sydney,AU
,INACTIVE,"Dan",29-SEP-2009,"14 someplace",Auckland,NZ
,NEW,"ARob",01-JAN-2009,"12 someplace",Auckland,NZ
1 10000 NEW Rob Roland 01-JAN-2009 12 someplace Auckland NZ
2 ACTIVE Greg 14-FEB-2009 13 someplace Sydney AU
3 INACTIVE Dan 29-SEP-2009 14 someplace Auckland NZ
4 NEW ARob 01-JAN-2009 12 someplace Auckland NZ