예제 #1
0
 private void AddWriters()
 {
     _writer1 = TestData.Writer1;
     _writer2 = TestData.Writer2;
     _dbContext.Writers.Add(_writer1);
     _dbContext.Writers.Add(_writer2);
 }
예제 #2
0
        private void un_chroniqueur_authentifé()
        {
            _writer = TestData.Writer1;
            _userAcceptanceTestApi.createUser(_writer);

            Host.Instance.NavigateToInitialPage<HomePage>()
                .NavigationMenu
                .GotoLoginPage()
                .LoginAs(_writer.Email, _writer.Password);
        }
예제 #3
0
        public void TestInitialize()
        {
            _restaurantRepository = new EfEntityRepository<Restaurant>(new MiamDbContext());

            _restaurant = Fixture.Create<Restaurant>();
            _writer = Fixture.Create<Writer>();
        }
예제 #4
0
 private void un_chroniqueur_existant_non_authentifé()
 {
     _writer = TestData.Writer1;
     _userAcceptanceTestApi.createUser(_writer);
 }