mirror of
https://github.com/elyby/chrly.git
synced 2024-12-02 03:30:54 +05:30
Improve test case for redis.GetUuid
This commit is contained in:
parent
f997fdf9b0
commit
33b286cba0
@ -353,6 +353,9 @@ func (suite *redisTestSuite) TestGetUuid() {
|
|||||||
suite.Require().Empty(uuid)
|
suite.Require().Empty(uuid)
|
||||||
suite.Require().False(found)
|
suite.Require().False(found)
|
||||||
suite.Require().Nil(err)
|
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")
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user