public EventServiceTests()
        {
            var settings = new Settings();
            var eventRepository = new EventRepository(settings);
            _eventService = new EventService(eventRepository);

            Thread.CurrentPrincipal = new GenericPrincipal(UserIdentity.Anonymous, null);
        }
Beispiel #2
0
 public UserServiceTests()
 {
     var settings = new Settings();
     var userRepository = new UserRepository(settings);
     _userService = new UserService(userRepository);
 }
Beispiel #3
0
 public FileServiceTests()
 {
     var settings = new Settings();
     _fileService = new FileService(settings);
 }
 public StripeServiceTests()
 {
     var settings = new Settings();
     _paymentService = new StripeService(settings);
 }