Skip to content
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.

Commit

Permalink
Fix indent.
Browse files Browse the repository at this point in the history
  • Loading branch information
magicdrive committed Dec 8, 2021
1 parent a0f33cb commit d5791ef
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions test/api/resource/incoming_requests_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,16 @@ func TestPutIncomingRequests(t *testing.T) {
defer httpmock.DeactivateAndReset()

mockBody := `
{
"account_id": 123,
"room_id": 322,
"name": "John Smith",
"chatwork_id": "tarochatworkid",
"organization_id": 101,
"organization_name": "Hello Company",
"department": "Marketing",
"avatar_image_url": "https://example.com/abc.png"
}
{
"account_id": 123,
"room_id": 322,
"name": "John Smith",
"chatwork_id": "tarochatworkid",
"organization_id": 101,
"organization_name": "Hello Company",
"department": "Marketing",
"avatar_image_url": "https://example.com/abc.png"
}
`

httpmock.RegisterResponder(http.MethodPut, fmt.Sprintf("%s%s/%d",
Expand Down Expand Up @@ -102,16 +102,16 @@ func TestDeleteIncomingRequests(t *testing.T) {
defer httpmock.DeactivateAndReset()

mockBody := `
{
"account_id": 123,
"room_id": 322,
"name": "John Smith",
"chatwork_id": "tarochatworkid",
"organization_id": 101,
"organization_name": "Hello Company",
"department": "Marketing",
"avatar_image_url": "https://example.com/abc.png"
}
{
"account_id": 123,
"room_id": 322,
"name": "John Smith",
"chatwork_id": "tarochatworkid",
"organization_id": 101,
"organization_name": "Hello Company",
"department": "Marketing",
"avatar_image_url": "https://example.com/abc.png"
}
`

httpmock.RegisterResponder(http.MethodDelete, fmt.Sprintf("%s%s/%d",
Expand Down

0 comments on commit d5791ef

Please sign in to comment.