Skip to content

Commit

Permalink
Added assert for ApiCallsUsed and ApiCallsLimit
Browse files Browse the repository at this point in the history
  • Loading branch information
giacomelli committed Sep 24, 2020
1 parent 94c03ae commit 729edd1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/SalesforceSharp.FunctionalTests/SalesforceClientTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,8 @@ public void GetRawBytes_ValidRecord()
Assert.IsNotNull(actual);
Assert.That(actual.Contains(string.Format("\"FirstName\":\"{0}\"", record.FirstName)));
Assert.That(actual.Contains(string.Format("\"LastName\":\"{0}\"", record.LastName)));
Assert.AreNotEqual(target.ApiCallsUsed, 0);
Assert.AreEqual(target.ApiCallsLimit, 15000);
}
#endregion

Expand Down

0 comments on commit 729edd1

Please sign in to comment.