diff --git a/src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/MemberServiceTests.cs b/src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/MemberServiceTests.cs index 723d4d377e..01eb00bdec 100644 --- a/src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/MemberServiceTests.cs +++ b/src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/MemberServiceTests.cs @@ -186,7 +186,7 @@ namespace Umbraco.Tests.Integration.Umbraco.Infrastructure.Services IEnumerable found = MemberService.GetAllRoles(); Assert.AreEqual(1, found.Count()); - Assert.AreEqual("MyTestRole", found.Single()); + Assert.AreEqual("MyTestRole", found.Single().Name); } [Test] @@ -198,7 +198,7 @@ namespace Umbraco.Tests.Integration.Umbraco.Infrastructure.Services IEnumerable found = MemberService.GetAllRoles(); Assert.AreEqual(1, found.Count()); - Assert.AreEqual("MyTestRole", found.Single()); + Assert.AreEqual("MyTestRole", found.Single().Name); } [Test]