Apply suggestion to test/web/admin_api/admin_api_controller_test.exs
authorAlexander Strizhakov <alex.strizhakov@gmail.com>
Thu, 9 Apr 2020 10:17:50 +0000 (10:17 +0000)
committerAlexander Strizhakov <alex.strizhakov@gmail.com>
Thu, 9 Apr 2020 10:17:50 +0000 (10:17 +0000)
test/web/admin_api/admin_api_controller_test.exs

index afd894269add50ff183f68900db3d86d36b5ae0a..e8d11b88c5f7408e03a320559f1145e2ce0a10b9 100644 (file)
@@ -681,7 +681,7 @@ defmodule Pleroma.Web.AdminAPI.AdminAPIControllerTest do
       conn = post(conn, "/api/pleroma/admin/users/email_invite?email=foo@bar.com&name=JD")
 
       assert json_response(conn, :bad_request) ==
-               "To send invites you need set `registrations_open` option to false."
+               "To send invites you need to set the `registrations_open` option to false."
     end
   end