Update UserServiceTests.cs

This commit is contained in:
Alain
2015-01-05 21:30:22 +00:00
parent dea78c5d13
commit a378d0c202

View File

@@ -465,8 +465,8 @@ namespace Umbraco.Tests.Services
//assert
var result1 = ServiceContext.UserService.GetUserById((int)user1.Id);
var result2 = ServiceContext.UserService.GetUserById((int)user2.Id);
Assert.IsFalse(result1.AllowedSections.Contains("test"));
Assert.IsFalse(result2.AllowedSections.Contains("test"));
Assert.IsTrue(result1.AllowedSections.Contains("test"));
Assert.IsTrue(result2.AllowedSections.Contains("test"));
}
[Test]