[#114] User.Info: renamed confirmation_update to confirmation_changeset.
This commit is contained in:
parent
59fc5d15df
commit
968d7490b6
5 changed files with 10 additions and 10 deletions
|
|
@ -116,7 +116,7 @@ defmodule Pleroma.Web.OAuth.OAuthControllerTest do
|
|||
test "rejects token exchange for valid credentials belonging to unconfirmed user" do
|
||||
password = "testpassword"
|
||||
user = insert(:user, password_hash: Comeonin.Pbkdf2.hashpwsalt(password))
|
||||
info_change = Pleroma.User.Info.confirmation_change(user.info, :unconfirmed)
|
||||
info_change = Pleroma.User.Info.confirmation_changeset(user.info, :unconfirmed)
|
||||
|
||||
{:ok, user} =
|
||||
user
|
||||
|
|
|
|||
|
|
@ -876,7 +876,7 @@ defmodule Pleroma.Web.TwitterAPI.ControllerTest do
|
|||
describe "GET /api/account/confirm_email/:token" do
|
||||
setup do
|
||||
user = insert(:user)
|
||||
info_change = User.Info.confirmation_change(user.info, :unconfirmed)
|
||||
info_change = User.Info.confirmation_changeset(user.info, :unconfirmed)
|
||||
|
||||
{:ok, user} =
|
||||
user
|
||||
|
|
@ -908,7 +908,7 @@ defmodule Pleroma.Web.TwitterAPI.ControllerTest do
|
|||
describe "POST /api/account/resend_confirmation_email" do
|
||||
setup do
|
||||
user = insert(:user)
|
||||
info_change = User.Info.confirmation_change(user.info, :unconfirmed)
|
||||
info_change = User.Info.confirmation_changeset(user.info, :unconfirmed)
|
||||
|
||||
{:ok, user} =
|
||||
user
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue