Created
June 7, 2010 12:45
-
-
Save jhollingworth/428627 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment