Skip to content

Commit

Permalink
More whitespace fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jannejjj committed Aug 15, 2024
1 parent dde2b8c commit fbed1d0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public async Task TestCleanUp()
{
if (_result != null)
{
for (var i = (_result.Count-1); i >= 0; i--)
for (var i = (_result.Count - 1); i >= 0; i--)
{
var temp = JsonConvert.SerializeObject(_result[i]);
var obj = JsonConvert.DeserializeObject<dynamic>(temp);
Expand Down Expand Up @@ -135,9 +135,10 @@ public async Task CreateCaseTest()
var body = JsonConvert.SerializeObject(accountResult.Body);
var accObj = JsonConvert.DeserializeObject<dynamic>(body);
_result.Add(new { Type = "Account", Id = accObj.id });

// Creating a case.
var json = JsonSerializer.Serialize(new {
var json = JsonSerializer.Serialize(new
{
AccountId = accObj.id.ToString(),
Subject = "This is a test.",
Description = "This is a test case for Frends.SalesForce.CreateSObject task.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public async Task DeleteCaseTest()
var accountId = await CreateSObject("Account", _userJson);

// Creating a case.
var json = JsonSerializer.Serialize( new
var json = JsonSerializer.Serialize(new
{
AccountId = accountId,
Subject = "This is a test.",
Expand Down

0 comments on commit fbed1d0

Please sign in to comment.