[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:
Родитель
29f99ceac7
Коммит
d0d6f4d0a2
|
@ -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));
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче