Skip to content

Commit

Permalink
fix: unit test case
Browse files Browse the repository at this point in the history
  • Loading branch information
guqing committed Oct 13, 2024
1 parent 9e7cbd0 commit c6279b1
Showing 1 changed file with 30 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,34 +142,36 @@ void listAll() {
try {
JSONAssert.assertEquals("""
[{
"name": "github",
"displayName": "github",
"bindingUrl": "fake-binding-url",
"enabled": false,
"authType": "OAUTH2",
"isBound": false,
"priority": 0,
"supportsBinding": false,
"privileged": false
}, {
"name": "gitlab",
"displayName": "gitlab",
"bindingUrl": "fake-binding-url",
"enabled": false,
"authType": "OAUTH2",
"isBound": false,
"priority": 0,
"supportsBinding": false,
"privileged": false
},{
"name": "gitee",
"displayName": "gitee",
"enabled": false,
"authType": "OAUTH2",
"isBound": false,
"priority": 0,
"supportsBinding": false,
"privileged": false
"name": "gitee",
"displayName": "gitee",
"authType": "OAUTH2",
"isBound": false,
"enabled": false,
"priority": 0,
"supportsBinding": false,
"privileged": false
},
{
"name": "github",
"displayName": "github",
"bindingUrl": "fake-binding-url",
"authType": "OAUTH2",
"isBound": false,
"enabled": false,
"priority": 0,
"supportsBinding": false,
"privileged": false
},
{
"name": "gitlab",
"displayName": "gitlab",
"bindingUrl": "fake-binding-url",
"authType": "OAUTH2",
"isBound": false,
"enabled": false,
"priority": 0,
"supportsBinding": false,
"privileged": false
}]
""",
JsonUtils.objectToJson(result),
Expand Down

0 comments on commit c6279b1

Please sign in to comment.