1
0
mirror of https://github.com/mxpv/podsync.git synced 2024-05-11 05:55:04 +00:00

Fix update access test

This commit is contained in:
Maksym Pavlenko
2017-08-13 22:18:58 -07:00
parent cb66970912
commit 01eb8ee33b

View File

@ -90,7 +90,7 @@ func TestPgStorage_UpdateLastAccess(t *testing.T) {
require.NotEmpty(t, last.LinkType)
require.NotEmpty(t, last.ItemId)
require.True(t, last.LastAccess.Unix() > lastAccess.Unix())
require.True(t, last.LastAccess.UnixNano() > lastAccess.UnixNano())
}
const TestDatabaseConnectionUrl = "postgres://postgres:@localhost/podsync?sslmode=disable"