Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var call = new XmlApiCall
- {
- Codec = new XmlCodec(),
- Username = Settings.MeetingsManager,
- Password = Settings.Password,
- RequestAuthenticationMechanism = new OAuthWrapAuthenticationMechanism(OAuthToken)
- };
- var calendar = call.Get<WorkspaceCalendar>("v2/calendar/workspaces/123").Data;
- Assert.AreEqual(calendar.Events.Count, PageUnderTest.Tasks.Count, "Number of tasks returned by the API and displayed in the page should be the same");
Add Comment
Please, Sign In to add comment