[tests] Fix NSDataTest.Https to use a site with a valid and complete certificate chain. Fixes #644. (#3549) (#3559)

Fixes https://github.com/xamarin/maccore/issues/644.
This commit is contained in:
Rolf Bjarne Kvinge 2018-02-21 17:27:03 +01:00 коммит произвёл Sebastien Pouliot
Родитель 29f99ceac7
Коммит d0d6f4d0a2
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -143,7 +143,7 @@ namespace MonoTouchFixtures.Foundation {
Assert.Ignore ("NSData.FromUrl doesn't seem to work in watchOS");
}
#endif
using (var url = new NSUrl ("https://blog.xamarin.com/robots.txt"))
using (var url = new NSUrl ("https://www.microsoft.com/robots.txt"))
using (var x = NSData.FromUrl (url)) {
Assert.That ((x != null) && (x.Length > 0));
}