projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Style fixes
[akkoma]
/
test
/
mix
/
tasks
/
pleroma
/
database_test.exs
diff --git
a/test/mix/tasks/pleroma/database_test.exs
b/test/mix/tasks/pleroma/database_test.exs
index 4f54f13c01bb54eb904d173fcf1e606f37629949..7a1a759da2fae14b351cb78f23106644fb2d35cf 100644
(file)
--- a/
test/mix/tasks/pleroma/database_test.exs
+++ b/
test/mix/tasks/pleroma/database_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 Mix.Tasks.Pleroma.DatabaseTest do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Mix.Tasks.Pleroma.DatabaseTest do
@@
-87,7
+87,8
@@
defmodule Mix.Tasks.Pleroma.DatabaseTest do
assert user.follower_count == 3
assert user.follower_count == 3
- assert :ok == Mix.Tasks.Pleroma.Database.run(["update_users_following_followers_counts"])
+ assert {:ok, :ok} ==
+ Mix.Tasks.Pleroma.Database.run(["update_users_following_followers_counts"])
user = User.get_by_id(user.id)
user = User.get_by_id(user.id)