private void AddWriters() { _writer1 = TestData.Writer1; _writer2 = TestData.Writer2; _dbContext.Writers.Add(_writer1); _dbContext.Writers.Add(_writer2); }
private void un_chroniqueur_authentifé() { _writer = TestData.Writer1; _userAcceptanceTestApi.createUser(_writer); Host.Instance.NavigateToInitialPage<HomePage>() .NavigationMenu .GotoLoginPage() .LoginAs(_writer.Email, _writer.Password); }
public void TestInitialize() { _restaurantRepository = new EfEntityRepository<Restaurant>(new MiamDbContext()); _restaurant = Fixture.Create<Restaurant>(); _writer = Fixture.Create<Writer>(); }
private void un_chroniqueur_existant_non_authentifé() { _writer = TestData.Writer1; _userAcceptanceTestApi.createUser(_writer); }