projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ChatMessage schema: Add `unread` property
[akkoma]
/
test
/
pleroma
/
web
/
pleroma_api
/
controllers
/
account_controller_test.exs
diff --git
a/test/pleroma/web/pleroma_api/controllers/account_controller_test.exs
b/test/pleroma/web/pleroma_api/controllers/account_controller_test.exs
index 07909d48bd806f8c2c1b65e88cabe8563326f665..9f14c55770b38c3d54a6919f047848051fe48bef 100644
(file)
--- a/
test/pleroma/web/pleroma_api/controllers/account_controller_test.exs
+++ b/
test/pleroma/web/pleroma_api/controllers/account_controller_test.exs
@@
-1,5
+1,5
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-202
0
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-202
1
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.PleromaAPI.AccountControllerTest do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.PleromaAPI.AccountControllerTest do
@@
-17,10
+17,10
@@
defmodule Pleroma.Web.PleromaAPI.AccountControllerTest do
setup do
{:ok, user} =
insert(:user)
setup do
{:ok, user} =
insert(:user)
- |> User.confirmation_changeset(
need_confirmation: tru
e)
+ |> User.confirmation_changeset(
set_confirmation: fals
e)
|> User.update_and_set_cache()
|> User.update_and_set_cache()
- assert user.confirmation_pending
+ refute user.is_confirmed
[user: user]
end
[user: user]
end