Skip to content

Commit 4b35b79

Browse files
committed
Added Test for Timestamps in TypesTest and DatesTest
1 parent 702b155 commit 4b35b79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/org/javawebstack/orm/test/DatesTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public void testTimes() throws ORMConfigurationException {
2626
timesModel.save();
2727

2828
timesModel = Repo.get(TimesModel.class).get(timesModel.id);
29-
assertNotNull(timesModel.cratedAt);
29+
assertNotNull(timesModel.createdAt);
3030

3131
// updated_at test
3232
timesModel.exampleField = " ";
@@ -52,7 +52,7 @@ public static class TimesModel extends Model {
5252
public String exampleField;
5353

5454
@Column
55-
public Timestamp cratedAt;
55+
public Timestamp createdAt;
5656

5757
@Column
5858
public Timestamp updatedAt;

0 commit comments

Comments
 (0)