Skip to content

Commit

Permalink
[UII] Fix overly-verbose snapshots in agent policy test suite (#183535)
Browse files Browse the repository at this point in the history
## Summary

Resolves #183529. As the title
says :)
  • Loading branch information
jen-huang authored May 15, 2024
1 parent cd3e684 commit ba3b2fd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ export default function (providerContext: FtrProviderContext) {
return getPkgRes;
};

// Failing: See https://github.com/elastic/kibana/issues/183529
describe.skip('fleet_agent_policies', () => {
describe('fleet_agent_policies', () => {
skipIfNoDockerRegistry(providerContext);

describe('GET /api/fleet/agent_policies', () => {
Expand Down Expand Up @@ -1357,8 +1356,12 @@ export default function (providerContext: FtrProviderContext) {
created_at: ppcreatedAt,
updated_at: ppupdatedAt,
version,
package: { version: pkgVersion, ...pkgRest },
...ppRest
}: any) => ppRest
}: any) => ({
...ppRest,
package: pkgRest,
})
),
}).toMatch();
});
Expand Down

0 comments on commit ba3b2fd

Please sign in to comment.