[Tests] Update xamarin domain to make tests not fail. (#11408)

A wrong implementation of a redirect was added and returns a 403 and not
a 302 resulting in an error. Update to the final destination of the
redirect and be happy.

fixes https://github.com/xamarin/maccore/issues/2432
This commit is contained in:
Manuel de la Pena 2021-05-02 20:11:16 -04:00 коммит произвёл GitHub
Родитель cc05e967a4
Коммит 47f273b4f6
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 2 добавлений и 2 удалений

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

@ -9,7 +9,7 @@ namespace MonoTests.System.Net.Http
{
public static readonly string MicrosoftUrl = "https://www.microsoft.com";
public static readonly Uri MicrosoftUri = new Uri (MicrosoftUrl);
public static readonly string XamarinUrl = "https://xamarin.com";
public static readonly string XamarinUrl = "https://dotnet.microsoft.com/apps/xamarin";
public static readonly Uri XamarinUri = new Uri (XamarinUrl);
public static readonly string StatsUrl = "https://api.imgur.com/2/stats";

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

@ -1,7 +1,7 @@
// Example PAC file that returns a proxy for the urls that have the
// xamarin domain name.
function FindProxyForURL(url, host) {
if (dnsDomainIs(host, "xamarin.com"))
if (dnsDomainIs(host, "dotnet.microsoft.com"))
return "PROXY example.com:8080";
if (dnsDomainIs(host, "microsoft.com"))