From 171886e36ea1b646fe1e56431d3e48e8eb60e152 Mon Sep 17 00:00:00 2001 From: ykuksenko <2882631+ykuksenko@users.noreply.github.com> Date: Thu, 30 Mar 2023 10:14:51 -0500 Subject: [PATCH] feat: fixup --- api/tacticalrmm/core/tests.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/api/tacticalrmm/core/tests.py b/api/tacticalrmm/core/tests.py index 98329cb0e2..788a4472c0 100644 --- a/api/tacticalrmm/core/tests.py +++ b/api/tacticalrmm/core/tests.py @@ -500,3 +500,14 @@ def test_get_meshagent_url_docker(self): r, "http://tactical-meshcentral:4443/meshagents?id=4&meshid=abc123&installflags=0", ) + + +class TestMonitoring(TacticalTestCase): + def setUp(self): + self.setup_client() + self.setup_coresettings() + + def test_invalid_monitoring_request(self): + url = "/core/status/" + r = self.client.get(url) + self.assertEqual(r.status_code, 400)