Merge branch 'service-worker-allowed-header' into 'develop'
[akkoma] / test / pleroma / web / admin_api / controllers / status_controller_test.exs
index a18ef9e4b31fe2bc4db9d10906fa1e2826ea0fd6..3fdf23ba2fab482c221f8eb911ac478b37dafafa 100644 (file)
@@ -1,9 +1,9 @@
 # Pleroma: A lightweight social networking server
-# Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
 defmodule Pleroma.Web.AdminAPI.StatusControllerTest do
-  use Pleroma.Web.ConnCase
+  use Pleroma.Web.ConnCase, async: true
 
   import Pleroma.Factory
 
@@ -47,8 +47,8 @@ defmodule Pleroma.Web.AdminAPI.StatusControllerTest do
 
       assert account["id"] == actor.id
       assert account["nickname"] == actor.nickname
-      assert account["deactivated"] == actor.deactivated
-      assert account["confirmation_pending"] == actor.confirmation_pending
+      assert account["is_active"] == actor.is_active
+      assert account["is_confirmed"] == actor.is_confirmed
     end
   end