Skip to content

Commit

Permalink
Use ambiguous observable type in test
Browse files Browse the repository at this point in the history
  • Loading branch information
tomchop committed Nov 14, 2023
1 parent d7241e3 commit da4682f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/apiv2/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ def test_match_add_with_type(self):
response = client.post(
"/api/v2/graph/match",
json={
"observables": ["genericobs"],
"observables": ["test3.com"],
"add_unknown": True,
"add_type": "generic",
},
Expand All @@ -273,5 +273,5 @@ def test_match_add_with_type(self):

# Observable is known, has been added.
self.assertEqual(len(data["known"]), 1)
self.assertEqual(data["known"][0]["value"], "genericobs")
self.assertEqual(data["known"][0]["value"], "test3.com")
self.assertEqual(data["known"][0]["type"], "generic")

0 comments on commit da4682f

Please sign in to comment.