Skip to content
This repository has been archived by the owner on Mar 20, 2019. It is now read-only.

Commit

Permalink
Fixed failing test (FriendlyIdentifierForDisplay now shows only the i…
Browse files Browse the repository at this point in the history
…-name).
  • Loading branch information
Troels Thomsen authored and AArnott committed Sep 3, 2008
1 parent 5641df5 commit e7c6495
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/DotNetOpenId.Test/RelyingParty/ServiceEndpointTests.cs
Expand Up @@ -132,7 +132,7 @@ public class ServiceEndpointTests {
// restore user supplied identifier to XRIs
se = ServiceEndpoint.CreateForClaimedIdentifier(new XriIdentifier("=!9B72.7DD1.50A9.5CCD"),
new XriIdentifier("=Arnott崎村"), localId, providerEndpoint, serviceTypeUris, null, null);
Assert.AreEqual("=!9B72.7DD1.50A9.5CCD (=Arnott崎村)", se.FriendlyIdentifierForDisplay);
Assert.AreEqual("=Arnott崎村", se.FriendlyIdentifierForDisplay);

// If UserSuppliedIdentifier is the same as the ClaimedIdentifier, don't display it twice...
se = ServiceEndpoint.CreateForClaimedIdentifier(
Expand Down
2 changes: 1 addition & 1 deletion src/DotNetOpenId.Test/XriIdentifierTests.cs
Expand Up @@ -138,7 +138,7 @@ public class XriIdentifierTests {
Assert.AreEqual(Protocol.v10, se.Protocol);
Assert.AreEqual("http://1id.com/sso", se.ProviderEndpoint.ToString());
Assert.AreEqual(se.ClaimedIdentifier, se.ProviderLocalIdentifier);
Assert.AreEqual("=!9B72.7DD1.50A9.5CCD (=Arnott)", se.FriendlyIdentifierForDisplay);
Assert.AreEqual("=Arnott", se.FriendlyIdentifierForDisplay);
}

[Test]
Expand Down

0 comments on commit e7c6495

Please sign in to comment.