public void SetUp() { var acctService = new AccountService(); sessionState = new SessionState { AuthToken = acctService.Login("admin", "admin"), Game = new GameDto{Id=1}, }; Assert.That(!string.IsNullOrEmpty(sessionState.AuthToken), "Hey WTF - login failed."); service = new BoardService(sessionState); }
public void SetUp() { service = new AccountService(); }