hnetcfg/tests: Don't test removing the same mapping twice.

Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Paul Gofman 2022-02-03 14:28:34 +03:00 committed by Alexandre Julliard
parent 69acffb954
commit 19c2ffe852

View file

@ -278,8 +278,6 @@ static void test_static_port_mapping_collection( IStaticPortMappingCollection *p
hr = IEnumVARIANT_Next(enum_ports, 1, &var, &fetched);
ok(hr == S_FALSE, "Got unexpected hr %#x.\n", hr);
hr = IStaticPortMappingCollection_Remove(ports, 12345, (BSTR)L"UDP");
ok(hr == S_OK, "Got unexpected hr %#x.\n", hr);
hr = IStaticPortMappingCollection_Remove(ports, 12345, (BSTR)L"UDP");
ok(hr == S_OK, "Got unexpected hr %#x.\n", hr);