Guest User

Untitled

a guest
May 27th, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. var call = new XmlApiCall
  2. {
  3. Codec = new XmlCodec(),
  4. Username = Settings.MeetingsManager,
  5. Password = Settings.Password,
  6. RequestAuthenticationMechanism = new OAuthWrapAuthenticationMechanism(OAuthToken)
  7. };
  8.  
  9. var calendar = call.Get<WorkspaceCalendar>("v2/calendar/workspaces/123").Data;
  10.  
  11. 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