Пример #1
0
        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));
        }
Пример #2
0
        public void GetUserById()
        {
            var o = RunTest(User.GetById(Api, Settings.AdminUser));

            Assert.AreEqual(Settings.AdminUser, o.id);
        }