Improve test case for redis.GetUuid

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

View File

@ -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")
})
}