diff options
author | Bohdan Horbeshko <bodqhrohro@gmail.com> | 2022-02-09 19:32:55 +0300 |
---|---|---|
committer | Bohdan Horbeshko <bodqhrohro@gmail.com> | 2022-02-09 19:32:55 +0300 |
commit | bf00e9862888cf60a427cdb611352fc75bb1c912 (patch) | |
tree | 79225515888a2ac9705c94c5c852b7617eeac6f5 /persistence/sessions_test.go | |
parent | 3618dadd81008eef542202e5f4f6e4d58eb39510 (diff) |
Fix existing testsv1.0.1
Diffstat (limited to 'persistence/sessions_test.go')
-rw-r--r-- | persistence/sessions_test.go | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/persistence/sessions_test.go b/persistence/sessions_test.go index 0968b53..aa1f4b8 100644 --- a/persistence/sessions_test.go +++ b/persistence/sessions_test.go @@ -45,11 +45,14 @@ func TestSessionGetAbsent(t *testing.T) { func TestSessionToMap(t *testing.T) { session := Session{ - Timezone: "klsf", + Timezone: "klsf", + RawMessages: true, } m := session.ToMap() sample := map[string]string{ - "timezone": "klsf", + "timezone": "klsf", + "keeponline": "false", + "rawmessages": "true", } if !reflect.DeepEqual(m, sample) { t.Errorf("Map does not match the sample: %v", m) |