summaryrefslogtreecommitdiff
path: root/test/safe_jsonb_set_test.exs
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2020-10-14 15:27:15 -0500
committerMark Felder <feld@FreeBSD.org>2020-10-14 15:27:15 -0500
commit1fb9452131721456adf2c19c513e6343f64825a7 (patch)
tree20c679c19e83925e0fcb0d34aba7eaf831485f58 /test/safe_jsonb_set_test.exs
parentbc3db724030707e9903d161a70b10fe217a83212 (diff)
parent20137056900f97af34f4433858cbdf69be6c9840 (diff)
downloadpleroma-1fb9452131721456adf2c19c513e6343f64825a7.tar.gz
pleroma-1fb9452131721456adf2c19c513e6343f64825a7.zip
Merge branch 'develop' into feature/account-export
Diffstat (limited to 'test/safe_jsonb_set_test.exs')
-rw-r--r--test/safe_jsonb_set_test.exs12
1 files changed, 0 insertions, 12 deletions
diff --git a/test/safe_jsonb_set_test.exs b/test/safe_jsonb_set_test.exs
deleted file mode 100644
index 748540570..000000000
--- a/test/safe_jsonb_set_test.exs
+++ /dev/null
@@ -1,12 +0,0 @@
-defmodule Pleroma.SafeJsonbSetTest do
- use Pleroma.DataCase
-
- test "it doesn't wipe the object when asked to set the value to NULL" do
- assert %{rows: [[%{"key" => "value", "test" => nil}]]} =
- Ecto.Adapters.SQL.query!(
- Pleroma.Repo,
- "select safe_jsonb_set('{\"key\": \"value\"}'::jsonb, '{test}', NULL);",
- []
- )
- end
-end