Skip to content

Commit

Permalink
feat: fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
ykuksenko committed Mar 30, 2023
1 parent e57cd82 commit 171886e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions api/tacticalrmm/core/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 171886e

Please sign in to comment.