Skip to content

Commit 5ae34f0

Browse files
committed
fix conn.log unit tests
1 parent c59351e commit 5ae34f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_conn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1173,7 +1173,7 @@ def test_check_connection_to_local_ip(
11731173
"""
11741174
conn = ModuleFactory().create_conn_analyzer_obj()
11751175
conn.set_evidence.conn_to_private_ip = Mock()
1176-
conn.db.get_gateway_ip_if_interface.return_value = "192.168.1.1"
1176+
conn.db.get_gateway_ip.return_value = "192.168.1.1"
11771177
flow = Conn(
11781178
starttime="1726249372.312124",
11791179
uid="123",

0 commit comments

Comments
 (0)