projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2b74f6
)
Fix warning
author
Egor Kislitsyn
<egor@kislitsyn.com>
Wed, 28 Oct 2020 11:32:44 +0000
(15:32 +0400)
committer
Egor Kislitsyn
<egor@kislitsyn.com>
Wed, 28 Oct 2020 11:32:44 +0000
(15:32 +0400)
test/pleroma/user/backup_test.exs
patch
|
blob
|
history
diff --git
a/test/pleroma/user/backup_test.exs
b/test/pleroma/user/backup_test.exs
index 51379891169bd88992ff3b8e68531fecc89df5ee..f68e4a029ac75e1356d850d00231d860ecff0fd6 100644
(file)
--- a/
test/pleroma/user/backup_test.exs
+++ b/
test/pleroma/user/backup_test.exs
@@
-82,7
+82,7
@@
defmodule Pleroma.User.BackupTest do
assert {:ok, job1} = Backup.create(user)
- assert {:ok, %Backup{
id: backup1_id
}} = ObanHelpers.perform(job1)
+ assert {:ok, %Backup{}} = ObanHelpers.perform(job1)
assert {:ok, job2} = Backup.create(user)
assert Pleroma.Repo.aggregate(Backup, :count) == 2
assert {:ok, backup2} = ObanHelpers.perform(job2)