summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenId.Test/Extensions/ExtensionsTestSetup.cs
blob: 1bde81256fa962f0d78bbf9408a45aab4ce822bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;

namespace DotNetOpenId.Test.Extensions {
	[SetUpFixture]
	public class ExtensionsTestSetup {
		[SetUp]
		public void SetUp() {
			if (!UntrustedWebRequest.WhitelistHosts.Contains("localhost"))
				UntrustedWebRequest.WhitelistHosts.Add("localhost");
		}
	}
}