Skip to content

Commit f09fe9d

Browse files
committed
Move the test to the right place
1 parent ab58411 commit f09fe9d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

github/github_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,6 @@ func testJSONMarshal(t *testing.T, v interface{}, want string) {
172172
func testAddOptions(t *testing.T, url string, v interface{}, want string) {
173173
t.Helper()
174174

175-
testJSONMarshal(t, &ListSCIMProvisionedIdentitiesOptions{}, `{}`)
176-
177175
got, err := addOptions(url, v)
178176
if err != nil {
179177
t.Errorf("Unable to add %#v as query parameters", v)

github/scim_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,8 @@ func TestUpdateAttributeForSCIMUserOptions_Marshal(t *testing.T) {
430430
}
431431

432432
func TestListSCIMProvisionedIdentitiesOptions_addOptions(t *testing.T) {
433+
testJSONMarshal(t, &ListSCIMProvisionedIdentitiesOptions{}, `{}`)
434+
433435
url := "some/path"
434436

435437
testAddOptions(t, url, &ListSCIMProvisionedIdentitiesOptions{}, url)

0 commit comments

Comments
 (0)