Skip to content

Commit

Permalink
backport of commit 58c678e (#27399)
Browse files Browse the repository at this point in the history
Co-authored-by: Chelsea Shaw <[email protected]>
  • Loading branch information
1 parent e171981 commit 0c5da4d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ui/tests/acceptance/open-api-path-help-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ function secretEngineHelper(test, secretEngine) {
const expected = engineData[modelName];
// Expected values should be updated to match "actual" (result)
assert.deepEqual(
Object.keys(result),
Object.keys(expected),
Object.keys(result).sort(),
Object.keys(expected).sort(),
`getProps returns expected attributes for ${modelName}`
);
Object.keys(expected).forEach((attrName) => {
Expand All @@ -103,8 +103,8 @@ function authEngineHelper(test, authBackend) {
const result = await this.pathHelp.getProps(helpUrl, this.mount);
const expected = authData[itemName];
assert.deepEqual(
Object.keys(result),
Object.keys(expected),
Object.keys(result).sort(),
Object.keys(expected).sort(),
`getProps returns expected attributes for ${itemName}`
);
Object.keys(expected).forEach((attrName) => {
Expand Down

0 comments on commit 0c5da4d

Please sign in to comment.