diff options
author | lain <lain@soykaf.club> | 2020-12-21 12:21:40 +0100 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-12-21 12:21:40 +0100 |
commit | 9ba60f70d2076017b610708691f9b88a025c6d97 (patch) | |
tree | ac80e0aefe6157228323ed5fc8396426df292528 /test/pleroma/safe_jsonb_set_test.exs | |
parent | c9d73af74dc816dac484f1be2e842baac6fdaa6c (diff) | |
download | pleroma-9ba60f70d2076017b610708691f9b88a025c6d97.tar.gz |
Tests: Make as many tests as possible async.
In general, tests that match these criteria can be made async:
- Doesn't use real Cachex.
- Doesn't write to the Config / Application Environment.
- Uses Mock. Using Mox is fine.
- Uses the streamer.
Diffstat (limited to 'test/pleroma/safe_jsonb_set_test.exs')
-rw-r--r-- | test/pleroma/safe_jsonb_set_test.exs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pleroma/safe_jsonb_set_test.exs b/test/pleroma/safe_jsonb_set_test.exs index 8b1274545..6d70f1026 100644 --- a/test/pleroma/safe_jsonb_set_test.exs +++ b/test/pleroma/safe_jsonb_set_test.exs @@ -3,7 +3,7 @@ # SPDX-License-Identifier: AGPL-3.0-only defmodule Pleroma.SafeJsonbSetTest do - use Pleroma.DataCase + use Pleroma.DataCase, async: true test "it doesn't wipe the object when asked to set the value to NULL" do assert %{rows: [[%{"key" => "value", "test" => nil}]]} = |