Пример #1
0
        public void CanLogInitialEvent()
        {
            if (!Debugger.IsAttached)
            {
                return;
            }

            var response = WebApiService.GetAuthorizationByCchId(11, 57020);

            var result = WebApiService.LogUserEvent(new DynamicAnimation.Models.ExperienceLogRequest()
            {
                CchId            = 57020,
                ContentId        = "unittest",
                EmployerId       = 11,
                EventId          = 0,
                EventName        = "UnitTest",
                ExperienceUserId = "unittest",
                LogComment       = "CanLogInitialEvent UnitTest Run"
            }, response.AuthHash);

            Assert.IsNotNull(result);
        }