Fix warning
This commit is contained in:
parent
f2b74f60f0
commit
4f90077767
|
@ -82,7 +82,7 @@ test "it removes outdated backups after creating a fresh one" do
|
||||||
|
|
||||||
assert {:ok, job1} = Backup.create(user)
|
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 {:ok, job2} = Backup.create(user)
|
||||||
assert Pleroma.Repo.aggregate(Backup, :count) == 2
|
assert Pleroma.Repo.aggregate(Backup, :count) == 2
|
||||||
assert {:ok, backup2} = ObanHelpers.perform(job2)
|
assert {:ok, backup2} = ObanHelpers.perform(job2)
|
||||||
|
|
Loading…
Reference in New Issue