This commit is contained in:
binwiederhier 2023-02-18 19:54:47 -05:00
parent 9377c265a8
commit fb727fc84a
1 changed files with 1 additions and 1 deletions

View File

@ -289,7 +289,7 @@ func TestServer_PublishNoCache(t *testing.T) {
msg := toMessage(t, response.Body.String())
require.NotEmpty(t, msg.ID)
require.Equal(t, "this message is not cached", msg.Message)
require.Equal(t, 0, msg.Expires)
require.Equal(t, int64(0), msg.Expires)
response = request(t, s, "GET", "/mytopic/json?poll=1", "", nil)
messages := toMessages(t, response.Body.String())