public async void LoadBoardsNoToken() { Trello.Token = ""; await Trello.LoadBoards(); Assert.Empty(Trello.Boards); }
public async Task <IActionResult> LoadBoards() { if (String.IsNullOrEmpty(Trello.Token)) { return(RedirectToAction(nameof(Index))); } await Trello.LoadBoards(); return(RedirectToAction(nameof(Boards))); }
public async void LoadBoardsWithToken() { await Trello.LoadBoards(); Assert.NotEmpty(Trello.Boards); }