update Swift4ModelTest.java with _id

This commit is contained in:
wing328 2018-01-08 00:13:49 +08:00
parent 0a6826d284
commit 99823c04b9

View File

@ -39,7 +39,7 @@ public class Swift4ModelTest {
final CodegenProperty property1 = cm.vars.get(0);
Assert.assertEquals(property1.baseName, "id");
Assert.assertEquals(property1.datatype, "Int64");
Assert.assertEquals(property1.name, "id");
Assert.assertEquals(property1.name, "_id");
Assert.assertNull(property1.defaultValue);
Assert.assertEquals(property1.baseType, "Int64");
Assert.assertTrue(property1.hasMore);