We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dea78c5 commit a378d0cCopy full SHA for a378d0c
src/Umbraco.Tests/Services/UserServiceTests.cs
@@ -465,8 +465,8 @@ public void Can_Add_Section_To_All_Users()
465
//assert
466
var result1 = ServiceContext.UserService.GetUserById((int)user1.Id);
467
var result2 = ServiceContext.UserService.GetUserById((int)user2.Id);
468
- Assert.IsFalse(result1.AllowedSections.Contains("test"));
469
- Assert.IsFalse(result2.AllowedSections.Contains("test"));
+ Assert.IsTrue(result1.AllowedSections.Contains("test"));
+ Assert.IsTrue(result2.AllowedSections.Contains("test"));
470
}
471
472
[Test]
0 commit comments