Exemple #1
0
        public UserProfileControllerTests()
        {
            AutoMapperUtil.ConfigureOnce();

            var config = new AutoMapper.MapperConfiguration(cfg => {
                cfg.CreateMap <UserProfile, UserProfile>();
            });

            mapper = config.CreateMapper();
        }
Exemple #2
0
 public UserProfileTests()
 {
     AutoMapperUtil.ConfigureOnce();
 }
 public AdminControllerTests()
 {
     AutoMapperUtil.ConfigureOnce();
 }
Exemple #4
0
 public GroupTests()
 {
     AutoMapperUtil.ConfigureOnce();
 }
Exemple #5
0
 public StoryTests()
 {
     AutoMapperUtil.ConfigureOnce();
 }