From d75cb6eacb346a47e043b5f0a0e82d15e1823611 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Thu, 13 Apr 2017 17:02:48 +0200 Subject: [PATCH] Update offline tests --- tests/test_offline.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test_offline.py b/tests/test_offline.py index 1f48344..92f7a5c 100644 --- a/tests/test_offline.py +++ b/tests/test_offline.py @@ -47,8 +47,7 @@ class TestOffline(unittest.TestCase): m.register_uri('DELETE', self.domain + 'events/2', json={'message': 'Event deleted.'}) m.register_uri('DELETE', self.domain + 'events/3', json={'errors': ['Invalid event'], 'message': 'Invalid event', 'name': 'Invalid event', 'url': '/events/3'}) m.register_uri('DELETE', self.domain + 'attributes/2', json={'message': 'Attribute deleted.'}) - m.register_uri('GET', self.domain + 'events/index/searchtag:1', json=self.search_index_result) - m.register_uri('GET', self.domain + 'events/index/searchtag:ecsirt:malicious-code=%22ransomware%22', json=self.search_index_result) + m.register_uri('POST', self.domain + 'events/index', json=self.search_index_result) def test_getEvent(self, m): self.initURI(m)