Skip to content

Commit

Permalink
adding the false parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
rashmivkulkarni committed Jan 25, 2021
1 parent d16592e commit a00c508
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/test/functional/apps/watcher/watcher_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default function ({ getService, getPageObjects }) {
before('initialize tests', async () => {
// There may be system watches if monitoring was previously enabled
// These cannot be deleted via the UI, so we need to delete via the API
await security.testUser.setRoles(['kibana_admin', 'watcher_admin']);
await security.testUser.setRoles(['kibana_admin', 'watcher_admin'], false);
const watches = await esSupertest.get('/.watches/_search');

if (watches.status === 200) {
Expand Down

0 comments on commit a00c508

Please sign in to comment.