From: Egor Kislitsyn Date: Wed, 28 Oct 2020 11:32:44 +0000 (+0400) Subject: Fix warning X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=4f90077767b416f3469fe7c8acfaa6932c579ec2;p=akkoma Fix warning --- diff --git a/test/pleroma/user/backup_test.exs b/test/pleroma/user/backup_test.exs index 513798911..f68e4a029 100644 --- 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)