diff options
author | =Corey Hulen <corey@hulen.com> | 2015-11-16 17:12:49 -0800 |
---|---|---|
committer | =Corey Hulen <corey@hulen.com> | 2015-11-16 17:12:49 -0800 |
commit | 6b2eabf6108e078bed8143e91c605dec5ccfafa6 (patch) | |
tree | 0d60cd7f3dac8092bd0bd4e39e2890a6170055c3 /store/sql_preference_store_test.go | |
parent | 03c6dcbd865e2af2db5db150189504bfa493ae2e (diff) | |
download | chat-6b2eabf6108e078bed8143e91c605dec5ccfafa6.tar.gz chat-6b2eabf6108e078bed8143e91c605dec5ccfafa6.tar.bz2 chat-6b2eabf6108e078bed8143e91c605dec5ccfafa6.zip |
Adding perm delete to cmd line
Diffstat (limited to 'store/sql_preference_store_test.go')
-rw-r--r-- | store/sql_preference_store_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/store/sql_preference_store_test.go b/store/sql_preference_store_test.go index 8d850e22c..77da71fd6 100644 --- a/store/sql_preference_store_test.go +++ b/store/sql_preference_store_test.go @@ -228,7 +228,7 @@ func TestPreferenceDelete(t *testing.T) { Must(store.Preference().Save(&preferences)) - if result := <-store.Preference().Delete(userId); result.Err != nil { + if result := <-store.Preference().PermanentDeleteByUser(userId); result.Err != nil { t.Fatal(result.Err) } } |