Merge branch 'fixTests' into 'master'

Fix ChatTime test

See merge request famedly/famedlysdk!5
This commit is contained in:
Christian 2019-06-10 10:00:39 +00:00
commit 7a4ab8dff2
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ void main() {
test("Formatting", () async {
final int timestamp = 1560144984758;
final ChatTime chatTime = ChatTime(timestamp);
expect(chatTime.toTimeString(),"07:36");
expect(chatTime.toTimeString(),"05:36"); // Skip this if you are not UTC+0
expect(chatTime.toTimeString(),chatTime.toEventTimeString());
final ChatTime oldChatTime = ChatTime(156014498475);