@@ -11,7 +11,7 @@ public class UserRightsTest : TestContext
1111 public void Test001 ( )
1212 {
1313 // Arrange
14- var authContext = AddTestAuthorization ( ) ;
14+ var authContext = this . AddTestAuthorization ( ) ;
1515 authContext . SetAuthorized ( "TEST USER" ) ;
1616
1717 // Act
@@ -26,7 +26,7 @@ public void Test001()
2626 public void Test002 ( )
2727 {
2828 // Arrange
29- var authContext = AddTestAuthorization ( ) ;
29+ var authContext = this . AddTestAuthorization ( ) ;
3030 authContext . SetAuthorized ( "TEST USER" ) ;
3131 authContext . SetRoles ( "superuser" ) ;
3232
@@ -44,7 +44,7 @@ public void Test002()
4444 public void Test003 ( )
4545 {
4646 // Arrange
47- var authContext = AddTestAuthorization ( ) ;
47+ var authContext = this . AddTestAuthorization ( ) ;
4848 authContext . SetAuthorized ( "TEST USER" ) ;
4949 authContext . SetRoles ( "admin" , "superuser" ) ;
5050
@@ -63,7 +63,7 @@ public void Test003()
6363 public void Test004 ( )
6464 {
6565 // Arrange
66- var authContext = AddTestAuthorization ( ) ;
66+ var authContext = this . AddTestAuthorization ( ) ;
6767 authContext . SetAuthorized ( "TEST USER" ) ;
6868 authContext . SetPolicies ( "content-editor" ) ;
6969
@@ -81,7 +81,7 @@ public void Test004()
8181 public void Test0041 ( )
8282 {
8383 // Arrange
84- var authContext = AddTestAuthorization ( ) ;
84+ var authContext = this . AddTestAuthorization ( ) ;
8585 authContext . SetAuthorized ( "TEST USER" ) ;
8686 authContext . SetPolicies ( "content-editor" , "approver" ) ;
8787
@@ -99,7 +99,7 @@ public void Test0041()
9999 public void Test006 ( )
100100 {
101101 // Arrange
102- var authContext = AddTestAuthorization ( ) ;
102+ var authContext = this . AddTestAuthorization ( ) ;
103103 authContext . SetAuthorized ( "TEST USER" ) ;
104104 authContext . SetClaims (
105105 new Claim ( ClaimTypes . Email , "test@example.com" ) ,
@@ -121,7 +121,7 @@ public void Test006()
121121 public void Test005 ( )
122122 {
123123 // Arrange
124- var authContext = AddTestAuthorization ( ) ;
124+ var authContext = this . AddTestAuthorization ( ) ;
125125 authContext . SetAuthorized ( "TEST USER" ) ;
126126 authContext . SetRoles ( "admin" , "superuser" ) ;
127127 authContext . SetPolicies ( "content-editor" ) ;
@@ -144,7 +144,7 @@ public void Test005()
144144 public void Test007 ( )
145145 {
146146 // Arrange
147- var authContext = AddTestAuthorization ( ) ;
147+ var authContext = this . AddTestAuthorization ( ) ;
148148 authContext . SetAuthorized ( "TEST USER" ) ;
149149 authContext . SetAuthenticationType ( "custom-auth-type" ) ;
150150
0 commit comments