Fixing saved object actions as a result of the merge

This commit is contained in:
kobelb 2019-03-08 14:45:37 -08:00
parent 20fb327e9d
commit bb76d20bf5
2 changed files with 6 additions and 6 deletions

View file

@ -75,7 +75,7 @@ export function importTestSuiteFactory(es: any, esArchiver: any, supertest: Supe
expect(resp.body).to.eql({
statusCode: 403,
error: 'Forbidden',
message: `Unable to bulk_create dashboard,globaltype, missing action:saved_objects/dashboard/bulk_create,action:saved_objects/globaltype/bulk_create`,
message: `Unable to bulk_create dashboard,globaltype, missing saved_object:dashboard/bulk_create,saved_object:globaltype/bulk_create`,
});
};
@ -83,7 +83,7 @@ export function importTestSuiteFactory(es: any, esArchiver: any, supertest: Supe
expect(resp.body).to.eql({
statusCode: 403,
error: 'Forbidden',
message: `Unable to bulk_create dashboard,globaltype,wigwags, missing action:saved_objects/dashboard/bulk_create,action:saved_objects/globaltype/bulk_create,action:saved_objects/wigwags/bulk_create`,
message: `Unable to bulk_create dashboard,globaltype,wigwags, missing saved_object:dashboard/bulk_create,saved_object:globaltype/bulk_create,saved_object:wigwags/bulk_create`,
});
};
@ -91,7 +91,7 @@ export function importTestSuiteFactory(es: any, esArchiver: any, supertest: Supe
expect(resp.body).to.eql({
statusCode: 403,
error: 'Forbidden',
message: `Unable to bulk_create dashboard,globaltype,wigwags, missing action:saved_objects/wigwags/bulk_create`,
message: `Unable to bulk_create dashboard,globaltype,wigwags, missing saved_object:wigwags/bulk_create`,
});
};

View file

@ -79,7 +79,7 @@ export function resolveImportConflictsTestSuiteFactory(
expect(resp.body).to.eql({
statusCode: 403,
error: 'Forbidden',
message: `Unable to bulk_create dashboard, missing action:saved_objects/dashboard/bulk_create`,
message: `Unable to bulk_create dashboard, missing saved_object:dashboard/bulk_create`,
});
};
@ -87,7 +87,7 @@ export function resolveImportConflictsTestSuiteFactory(
expect(resp.body).to.eql({
statusCode: 403,
error: 'Forbidden',
message: `Unable to bulk_create dashboard,wigwags, missing action:saved_objects/dashboard/bulk_create,action:saved_objects/wigwags/bulk_create`,
message: `Unable to bulk_create dashboard,wigwags, missing saved_object:dashboard/bulk_create,saved_object:wigwags/bulk_create`,
});
};
@ -95,7 +95,7 @@ export function resolveImportConflictsTestSuiteFactory(
expect(resp.body).to.eql({
statusCode: 403,
error: 'Forbidden',
message: `Unable to bulk_create dashboard,wigwags, missing action:saved_objects/wigwags/bulk_create`,
message: `Unable to bulk_create dashboard,wigwags, missing saved_object:wigwags/bulk_create`,
});
};