summaryrefslogtreecommitdiff
path: root/test/web/oauth/oauth_controller_test.exs
diff options
context:
space:
mode:
authorIvan Tashkinov <ivantashkinov@gmail.com>2018-12-19 16:27:16 +0300
committerIvan Tashkinov <ivantashkinov@gmail.com>2018-12-19 16:31:03 +0300
commit968d7490b689ba501a64f350841dc8f9b33b5244 (patch)
tree79d88580181289f398cdee90a33c415f56b1ba68 /test/web/oauth/oauth_controller_test.exs
parent59fc5d15dfde0120fb10ec14631ad1115a6087a9 (diff)
downloadpleroma-968d7490b689ba501a64f350841dc8f9b33b5244.tar.gz
pleroma-968d7490b689ba501a64f350841dc8f9b33b5244.zip
[#114] User.Info: renamed `confirmation_update` to `confirmation_changeset`.
Diffstat (limited to 'test/web/oauth/oauth_controller_test.exs')
-rw-r--r--test/web/oauth/oauth_controller_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/oauth/oauth_controller_test.exs b/test/web/oauth/oauth_controller_test.exs
index 26505bab7..0621a8acc 100644
--- a/test/web/oauth/oauth_controller_test.exs
+++ b/test/web/oauth/oauth_controller_test.exs
@@ -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