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

index 32fe69d19f1eed28b5a8307ac59d76d23b975ab2..afd894269add50ff183f68900db3d86d36b5ae0a 100644 (file)
@@ -671,7 +671,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 `invites_enabled` option to true."
+               "To send invites you need to set the `invites_enabled` option to true."
     end
 
     test "it returns 500 if `registrations_open` is enabled", %{conn: conn} do