diff --git a/apps/snapshots_test.go b/apps/snapshots_test.go index 1b73d10..ca5ac38 100644 --- a/apps/snapshots_test.go +++ b/apps/snapshots_test.go @@ -81,9 +81,9 @@ func TestSnapshot(t *testing.T) { Labels: []string{"userid:1"}, } - assert.Equal(t, "app_0102:1634510035:eyJBcHBOYW1lIjoiYXBwXzAxMDIiLCJUaW1lU3RhbXAiOjE2MzQ1MTAwMzUsIkxhYmVscyI6WyJ1c2VyaWQ6MSJdfQ==", snapshot.KeyName()) + assert.Equal(t, "app_0102:1634510035:eyJhcHBfbmFtZSI6ImFwcF8wMTAyIiwidHMiOjE2MzQ1MTAwMzUsImxhYmVscyI6WyJ1c2VyaWQ6MSJdfQ==", snapshot.KeyName()) - snapshot2, err := DecodeKeyName("app_0102:1634510035:eyJBcHBOYW1lIjoiYXBwXzAxMDIiLCJUaW1lU3RhbXAiOjE2MzQ1MTAwMzUsIkxhYmVscyI6WyJ1c2VyaWQ6MSJdfQ==") + snapshot2, err := DecodeKeyName("app_0102:1634510035:eyJhcHBfbmFtZSI6ImFwcF8wMTAyIiwidHMiOjE2MzQ1MTAwMzUsImxhYmVscyI6WyJ1c2VyaWQ6MSJdfQ==") assert.Nil(t, err) assert.Equal(t, "app_0102", snapshot2.AppName) assert.Equal(t, int64(1634510035), snapshot2.TimeStamp)