fix(jotts): update db tests
dd64b85c
1 file(s) · +1 −1
| 41 | 41 | if err != nil { |
|
| 42 | 42 | t.Fatal(err) |
|
| 43 | 43 | } |
|
| 44 | - | if len(all) != 2 || all[0].ShortID != second.ShortID || all[1].ShortID != first.ShortID { |
|
| 44 | + | if len(all) != 2 || all[0].UpdatedAt != second.UpdatedAt || all[1].UpdatedAt != first.UpdatedAt { |
|
| 45 | 45 | t.Fatalf("not newest first: %#v", all) |
|
| 46 | 46 | } |
|
| 47 | 47 |