public void GetTeamsForUser() { var o = User.GetById(Api, Settings.AdminUser).Result; var l = RunTest(o.GetTeams(Api)); Assert.IsTrue(l.List.Any(l1 => l1.id == Settings.TestTeam)); }
public void GetUserById() { var o = RunTest(User.GetById(Api, Settings.AdminUser)); Assert.AreEqual(Settings.AdminUser, o.id); }