public void Controller_TestAuthorize_NotHavingRights_Test() { var testUser = new User("test", "123456", Roles.User); var testController = new TestController(testUser); testController.TestAuthorize(Roles.VenueAdmin); }
public void Controller_TestAuthorize_NoLoggedIn_Test() { var testContoller = new TestController(null); testContoller.TestAuthorize(Roles.User); }