Fix warning

This commit is contained in:
Egor Kislitsyn 2020-10-28 15:32:44 +04:00
parent f2b74f60f0
commit 4f90077767
No known key found for this signature in database
GPG Key ID: 1B49CB15B71E7805
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ test "it removes outdated backups after creating a fresh one" 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)