-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix AppGroup apps pagination issue and testcase
- Loading branch information
1 parent
bff8399
commit dfa2bf0
Showing
2 changed files
with
275 additions
and
0 deletions.
There are no files selected for viewing
69 changes: 69 additions & 0 deletions
69
tests/offline-test-data/v1/organizations/phpunit/appgroups/GET_pageSize=1000.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
{ | ||
"appGroups": [ | ||
{ | ||
"name": "phpunit", | ||
"displayName": "A PHPUnit appgroup", | ||
"status": "active", | ||
"attributes": [ | ||
{ | ||
"name": "foo", | ||
"value": "bar" | ||
} | ||
], | ||
"createdAt": 1691588699000, | ||
"lastModifiedAt": 1691588699617 | ||
}, | ||
{ | ||
"name": "1phpunit", | ||
"displayName": "A PHPUnit appgroup", | ||
"status": "active", | ||
"attributes": [ | ||
{ | ||
"name": "foo", | ||
"value": "bar" | ||
} | ||
], | ||
"createdAt": 1691588699000, | ||
"lastModifiedAt": 1691588699617 | ||
}, | ||
{ | ||
"name": "2phpunit", | ||
"displayName": "A PHPUnit appgroup", | ||
"status": "active", | ||
"attributes": [ | ||
{ | ||
"name": "foo", | ||
"value": "bar" | ||
} | ||
], | ||
"createdAt": 1691588699000, | ||
"lastModifiedAt": 1691588699617 | ||
}, | ||
{ | ||
"name": "3phpunit", | ||
"displayName": "A PHPUnit appgroup", | ||
"status": "active", | ||
"attributes": [ | ||
{ | ||
"name": "foo", | ||
"value": "bar" | ||
} | ||
], | ||
"createdAt": 1691588699000, | ||
"lastModifiedAt": 1691588699617 | ||
}, | ||
{ | ||
"name": "4phpunit", | ||
"displayName": "A PHPUnit appgroup", | ||
"status": "active", | ||
"attributes": [ | ||
{ | ||
"name": "foo", | ||
"value": "bar" | ||
} | ||
], | ||
"createdAt": 1691588699000, | ||
"lastModifiedAt": 1691588699617 | ||
} | ||
] | ||
} |
206 changes: 206 additions & 0 deletions
206
.../offline-test-data/v1/organizations/phpunit/appgroups/phpunit/apps/GET_pageSize=1000.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,206 @@ | ||
{ | ||
"app": [ | ||
{ | ||
"appFamily": "default", | ||
"appId": "a47891c5-ca20-4f2f-975e-0e7588ec81f0", | ||
"attributes": [ | ||
{ | ||
"name": "DisplayName", | ||
"value": "PHP Unit: Test app" | ||
}, | ||
{ | ||
"name": "Notes", | ||
"value": "This is a test app created by PHP Unit." | ||
}, | ||
{ | ||
"name": "foo", | ||
"value": "foo" | ||
}, | ||
{ | ||
"name": "bar", | ||
"value": "baz" | ||
} | ||
], | ||
"callbackUrl": "http://foo.example.com", | ||
"createdAt": 648345600000, | ||
"createdBy": "[email protected]", | ||
"credentials": [ | ||
{ | ||
"apiProducts": [], | ||
"attributes": [], | ||
"consumerKey": "Zww6GKaGRxQFGkfE36vgSN0eoac1Ymk3", | ||
"consumerSecret": "LtdYkcmgDYV7kzxz", | ||
"issuedAt": 648345600000, | ||
"scopes": [], | ||
"status": "approved" | ||
} | ||
], | ||
"appGroup": "phpunit", | ||
"lastModifiedAt": 648345600000, | ||
"lastModifiedBy": "[email protected]", | ||
"name": "phpunit_test_app", | ||
"scopes": [], | ||
"status": "approved" | ||
}, | ||
{ | ||
"appFamily": "default", | ||
"appId": "b3e71cbb-7eb5-1111-b384-ac82bca1d9dc", | ||
"attributes": [ | ||
{ | ||
"name": "DisplayName", | ||
"value": "PHP Unit: Test app" | ||
}, | ||
{ | ||
"name": "Notes", | ||
"value": "This is a test app created by PHP Unit." | ||
}, | ||
{ | ||
"name": "foo", | ||
"value": "bar" | ||
} | ||
], | ||
"callbackUrl": "http://example.com", | ||
"createdAt": 648345600000, | ||
"createdBy": "[email protected]", | ||
"credentials": [ | ||
{ | ||
"apiProducts": [], | ||
"attributes": [], | ||
"consumerKey": "Zww6GKaGRxQFGkfE36vgSN0eoac1Ymk3", | ||
"consumerSecret": "LtdYkcmgDYV7kzxz", | ||
"issuedAt": 648345600000, | ||
"scopes": [], | ||
"status": "approved" | ||
} | ||
], | ||
"appGroup": "phpunit", | ||
"lastModifiedAt": 648345600000, | ||
"lastModifiedBy": "[email protected]", | ||
"name": "1phpunit_test_app", | ||
"scopes": [], | ||
"status": "approved" | ||
}, | ||
{ | ||
"appFamily": "default", | ||
"appId": "b3e71cbb-7eb5-2222-b384-ac82bca1d9dc", | ||
"attributes": [ | ||
{ | ||
"name": "DisplayName", | ||
"value": "PHP Unit: Test app" | ||
}, | ||
{ | ||
"name": "Notes", | ||
"value": "This is a test app created by PHP Unit." | ||
}, | ||
{ | ||
"name": "foo", | ||
"value": "foo" | ||
}, | ||
{ | ||
"name": "bar", | ||
"value": "baz" | ||
} | ||
], | ||
"callbackUrl": "http://example.com", | ||
"createdAt": 648345600000, | ||
"createdBy": "[email protected]", | ||
"credentials": [ | ||
{ | ||
"apiProducts": [], | ||
"attributes": [], | ||
"consumerKey": "wAXAIiOr2oJOVGqFltnm3Jwr2LE0GEuY", | ||
"consumerSecret": "S8YjnsjmdBqDAegR", | ||
"issuedAt": 648345600000, | ||
"scopes": [], | ||
"status": "approved" | ||
} | ||
], | ||
"appGroup": "phpunit", | ||
"lastModifiedAt": 648345600000, | ||
"lastModifiedBy": "[email protected]", | ||
"name": "2phpunit_test_app", | ||
"scopes": [], | ||
"status": "approved" | ||
}, | ||
{ | ||
"appFamily": "default", | ||
"appId": "b3e71cbb-7eb5-3333-b384-ac82bca1d9dc", | ||
"attributes": [ | ||
{ | ||
"name": "DisplayName", | ||
"value": "PHP Unit: Test app" | ||
}, | ||
{ | ||
"name": "Notes", | ||
"value": "This is a test app created by PHP Unit." | ||
}, | ||
{ | ||
"name": "foo", | ||
"value": "bar" | ||
} | ||
], | ||
"callbackUrl": "http://example.com", | ||
"createdAt": 648345600000, | ||
"createdBy": "[email protected]", | ||
"credentials": [ | ||
{ | ||
"apiProducts": [], | ||
"attributes": [], | ||
"consumerKey": "wAXAIiOr2oJOVGqFltnm3Jwr2LE0GEuY", | ||
"consumerSecret": "S8YjnsjmdBqDAegR", | ||
"issuedAt": 648345600000, | ||
"scopes": [], | ||
"status": "approved" | ||
} | ||
], | ||
"appGroup": "phpunit", | ||
"lastModifiedAt": 648345600000, | ||
"lastModifiedBy": "[email protected]", | ||
"name": "3phpunit_test_app", | ||
"scopes": [], | ||
"status": "approved" | ||
}, | ||
{ | ||
"appFamily": "default", | ||
"appId": "b3e71cbb-7eb5-4444-b384-ac82bca1d9dc", | ||
"attributes": [ | ||
{ | ||
"name": "DisplayName", | ||
"value": "PHP Unit: Test app" | ||
}, | ||
{ | ||
"name": "Notes", | ||
"value": "This is a test app created by PHP Unit." | ||
}, | ||
{ | ||
"name": "foo", | ||
"value": "foo" | ||
}, | ||
{ | ||
"name": "bar", | ||
"value": "baz" | ||
} | ||
], | ||
"callbackUrl": "http://example.com", | ||
"createdAt": 648345600000, | ||
"createdBy": "[email protected]", | ||
"credentials": [ | ||
{ | ||
"apiProducts": [], | ||
"attributes": [], | ||
"consumerKey": "wAXAIiOr2oJOVGqFltnm3Jwr2LE0GEuY", | ||
"consumerSecret": "S8YjnsjmdBqDAegR", | ||
"issuedAt": 648345600000, | ||
"scopes": [], | ||
"status": "approved" | ||
} | ||
], | ||
"appGroup": "phpunit", | ||
"lastModifiedAt": 648345600000, | ||
"lastModifiedBy": "[email protected]", | ||
"name": "4phpunit_test_app", | ||
"scopes": [], | ||
"status": "approved" | ||
} | ||
] | ||
} |