Skip to content

Commit 171886e

Browse files
committed
feat: fixup
1 parent e57cd82 commit 171886e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

api/tacticalrmm/core/tests.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,3 +500,14 @@ def test_get_meshagent_url_docker(self):
500500
r,
501501
"http://tactical-meshcentral:4443/meshagents?id=4&meshid=abc123&installflags=0",
502502
)
503+
504+
505+
class TestMonitoring(TacticalTestCase):
506+
def setUp(self):
507+
self.setup_client()
508+
self.setup_coresettings()
509+
510+
def test_invalid_monitoring_request(self):
511+
url = "/core/status/"
512+
r = self.client.get(url)
513+
self.assertEqual(r.status_code, 400)

0 commit comments

Comments
 (0)