From e89ed6d7b1163c046c8f903bbcbae6a5702c6ec7 Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Thu, 8 Oct 2020 02:50:20 +0000 Subject: [PATCH] fix tests --- api/tacticalrmm/winupdate/tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/tacticalrmm/winupdate/tests.py b/api/tacticalrmm/winupdate/tests.py index 1a409e56..a9d743ca 100644 --- a/api/tacticalrmm/winupdate/tests.py +++ b/api/tacticalrmm/winupdate/tests.py @@ -42,7 +42,8 @@ class TestWinUpdateViews(TacticalTestCase): resp = self.client.get(url, format="json") self.assertEqual(resp.status_code, 200) mock_task.assert_called_with( - queue="wupdate", kwargs={"pk": agent.pk, "wait": False} + queue="wupdate", + kwargs={"pk": agent.pk, "wait": False, "auto_approve": True}, ) self.check_not_authenticated("get", url)