aboutsummaryrefslogtreecommitdiff
path: root/persistence
diff options
context:
space:
mode:
Diffstat (limited to 'persistence')
-rw-r--r--persistence/sessions_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/persistence/sessions_test.go b/persistence/sessions_test.go
index 8ca6f4f..0339378 100644
--- a/persistence/sessions_test.go
+++ b/persistence/sessions_test.go
@@ -48,6 +48,7 @@ func TestSessionToMap(t *testing.T) {
Timezone: "klsf",
RawMessages: true,
OOBMode: true,
+ Receipts: true,
}
m := session.ToMap()
sample := map[string]string{
@@ -58,6 +59,8 @@ func TestSessionToMap(t *testing.T) {
"oobmode": "true",
"carbons": "false",
"hideids": "false",
+ "receipts": "true",
+ "nativeedits": "false",
}
if !reflect.DeepEqual(m, sample) {
t.Errorf("Map does not match the sample: %v", m)