summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Test/OpenId/TestSupport.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2008-12-01 07:37:00 -0800
committerAndrew <andrewarnott@gmail.com>2008-12-01 07:37:00 -0800
commit9c85108a3a0b242c4ed5ae33da52df16c95c0ce3 (patch)
tree7aea92ec71dab0d1932f277cd77e4a2823b0c211 /src/DotNetOpenAuth.Test/OpenId/TestSupport.cs
parent98f10d7920e2d957f6aff937b9dd253f84145668 (diff)
downloadDotNetOpenAuth-9c85108a3a0b242c4ed5ae33da52df16c95c0ce3.zip
DotNetOpenAuth-9c85108a3a0b242c4ed5ae33da52df16c95c0ce3.tar.gz
DotNetOpenAuth-9c85108a3a0b242c4ed5ae33da52df16c95c0ce3.tar.bz2
Lots of stylecop work.
Diffstat (limited to 'src/DotNetOpenAuth.Test/OpenId/TestSupport.cs')
-rw-r--r--src/DotNetOpenAuth.Test/OpenId/TestSupport.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DotNetOpenAuth.Test/OpenId/TestSupport.cs b/src/DotNetOpenAuth.Test/OpenId/TestSupport.cs
index 665c041..c80fa97 100644
--- a/src/DotNetOpenAuth.Test/OpenId/TestSupport.cs
+++ b/src/DotNetOpenAuth.Test/OpenId/TestSupport.cs
@@ -144,11 +144,11 @@ namespace DotNetOpenAuth.Test.OpenId {
}
internal static ServiceEndpoint GetServiceEndpoint(Scenarios scenario, ProtocolVersion providerVersion, int servicePriority, bool useSsl) {
+ var providerEndpoint = new ProviderEndpointDescription(GetFullUrl("/" + ProviderPage, null, useSsl), new string[] { Protocol.Lookup(providerVersion).ClaimedIdentifierServiceTypeURI });
return ServiceEndpoint.CreateForClaimedIdentifier(
GetIdentityUrl(scenario, providerVersion, useSsl),
GetDelegateUrl(scenario, useSsl),
- GetFullUrl("/" + ProviderPage, null, useSsl),
- new string[] { Protocol.Lookup(providerVersion).ClaimedIdentifierServiceTypeURI },
+ providerEndpoint,
servicePriority,
10);
}