public ContributionUserTagRepositoryTestsFixture() : base(nameof(ContributionUserTagRepositoryTestsFixture))
        {
            Repository     = new ContributionUserTagRepository(DbContextFactory, new Mapper.Mapper());
            UserRepository = new UserRepository(DbContextFactory, new Mapper.Mapper());
            PostRepository = new PostRepository(DbContextFactory, new Mapper.Mapper());

            PrepareDatabase();
        }
Beispiel #2
0
        public TeamsManagerRepositoryTestsFixture() : base(nameof(TeamsManagerRepositoryTestsFixture))
        {
            UserRepository                = new UserRepository(DbContextFactory, new Mapper.Mapper());
            ProfileImageRepository        = new ProfileImageRepository(DbContextFactory, new Mapper.Mapper());
            CommentRepository             = new CommentRepository(DbContextFactory, new Mapper.Mapper());
            ContributionFileRepository    = new ContributionFileRepository(DbContextFactory, new Mapper.Mapper());
            PostRepository                = new PostRepository(DbContextFactory, new Mapper.Mapper());
            TeamRepository                = new TeamRepository(DbContextFactory, new Mapper.Mapper());
            UserTeamMemberRepository      = new UserTeamMemberRepository(DbContextFactory, new Mapper.Mapper());
            ContributionUserTagRepository = new ContributionUserTagRepository(DbContextFactory, new Mapper.Mapper());

            Facade = new BusinessLogicFacade(DbContextFactory, new Mapper.Mapper());

            PrepareDatabase();
        }