From: fence Date: Mon, 27 Apr 2020 17:32:58 +0000 (+0200) Subject: mongooseim test: explicitly set password for the deactivated used X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=d607b4d84002ff14f51713f1ac74a4971e2dffac;p=akkoma mongooseim test: explicitly set password for the deactivated used --- diff --git a/test/web/mongooseim/mongoose_im_controller_test.exs b/test/web/mongooseim/mongoose_im_controller_test.exs index 2b4d124af..d17f8dbb4 100644 --- a/test/web/mongooseim/mongoose_im_controller_test.exs +++ b/test/web/mongooseim/mongoose_im_controller_test.exs @@ -42,7 +42,7 @@ defmodule Pleroma.Web.MongooseIMController do test "/check_password", %{conn: conn} do user = insert(:user, password_hash: Comeonin.Pbkdf2.hashpwsalt("cool")) - _deactivated_user = insert(:user, nickname: "konata", deactivated: true) + _deactivated_user = insert(:user, nickname: "konata", deactivated: true, password_hash: Comeonin.Pbkdf2.hashpwsalt("cool")) res = conn