[Tests] Fix TryGetSupportedInterfaces when we have values. Fixes #2273 (#9276)

* [Tests] Fix TryGetSupportedInterfaces when we have values. Fixes #2273

Make the test check against the value returned by the native API rather
than expect the result to always be null.

Fixes https://github.com/xamarin/maccore/issues/2273

* Address reviews.
This commit is contained in:
Manuel de la Pena 2020-08-06 05:00:18 -04:00 коммит произвёл GitHub
Родитель 603b22e1d6
Коммит 6293ce6828
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 0 добавлений и 1 удалений

Просмотреть файл

@ -91,7 +91,6 @@ namespace MonoTouchFixtures.SystemConfiguration {
#else
status = CaptiveNetwork.TryGetSupportedInterfaces (out var ifaces);
Assert.AreEqual (StatusCode.OK, status, "Status");
Assert.IsNull (ifaces, "Null Interfaces");
#endif // __TVOS__
}
#endif