1
0
mirror of https://github.com/elyby/chrly.git synced 2025-02-25 03:47:40 +05:30

Improve test case for redis.GetUuid

This commit is contained in:
ErickSkrauch 2020-04-28 18:13:01 +03:00
parent f997fdf9b0
commit 33b286cba0

@ -353,6 +353,9 @@ func (suite *redisTestSuite) TestGetUuid() {
suite.Require().Empty(uuid)
suite.Require().False(found)
suite.Require().Nil(err)
resp := suite.cmd("HGET", "hash:mojang-username-to-uuid", "mock")
suite.Require().True(resp.IsType(redis.Nil), "should cleanup expired records")
})
}