Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
XavierM committed Jan 4, 2024
1 parent f75e6ca commit a3d77fb
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ describe('find alert with/without doc level security', () => {
}
);
});

after(async () => {
await security.user.delete(userAllSec.username);
await security.user.delete(userAllSecWithDsl.username);
Expand All @@ -109,6 +110,7 @@ describe('find alert with/without doc level security', () => {
'x-pack/test/functional/es_archives/security_solution/alerts/8.8.0_multiple_docs'
);
});

it('should return alerts with user who has access to security solution privileges', async () => {
const query = {
query: {
Expand All @@ -125,6 +127,7 @@ describe('find alert with/without doc level security', () => {
.expect(200);
expect(body.hits.total.value).to.eql(3);
});

it('should filter out alerts with user who has access to security solution privileges and document level security', async () => {
const query = {
query: {
Expand Down

0 comments on commit a3d77fb

Please sign in to comment.