mirror of
https://github.com/elyby/chrly.git
synced 2025-05-31 14:11:51 +05:30
Improve test case for redis.GetUuid
This commit is contained in:
@@ -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")
|
||||
})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user