Fix setting the device wrong field in module tests (#16296)

This commit is contained in:
Tony Murray
2024-08-27 17:03:41 -05:00
committed by GitHub
parent e10443864d
commit 7b767dd7cc

View File

@@ -572,7 +572,7 @@ class ModuleTestHelper
try { try {
$new_device = new Device([ $new_device = new Device([
'hostname' => $snmpsim->ip, 'hostname' => $snmpsim->ip,
'version' => 'v2c', 'snmpver' => 'v2c',
'community' => $this->file_name, 'community' => $this->file_name,
'port' => $snmpsim->port, 'port' => $snmpsim->port,
'disabled' => 1, // disable to block normal pollers 'disabled' => 1, // disable to block normal pollers