Skip to content

Commit 0f3b4ac

Browse files
committed
Fixes merge issues
1 parent ddf9ec3 commit 0f3b4ac

File tree

3 files changed

+196
-148
lines changed

3 files changed

+196
-148
lines changed

x-pack/platform/test/spaces_api_integration/access_control_objects/apis/spaces/access_control_objects.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export default function ({ getService }: FtrProviderContext) {
135135
const { id: createdId } = response.body;
136136

137137
const getResponse = await supertestWithoutAuth
138-
.get(`/read_only_objects/${createdId}`)
138+
.get(`/access_control_objects/${createdId}`)
139139
.set('kbn-xsrf', 'true')
140140
.set(
141141
'Authorization',
@@ -330,7 +330,7 @@ export default function ({ getService }: FtrProviderContext) {
330330

331331
it('should objects that support access control without metadata when there is no active user profile', async () => {
332332
const bulkCreateResponse = await supertestWithoutAuth
333-
.post('/read_only_objects/bulk_create')
333+
.post('/access_control_objects/bulk_create')
334334
.set('kbn-xsrf', 'xxxxx')
335335
.set(
336336
'Authorization',
@@ -339,7 +339,7 @@ export default function ({ getService }: FtrProviderContext) {
339339
)}`
340340
)
341341
.send({
342-
objects: [{ type: READ_ONLY_TYPE }, { type: READ_ONLY_TYPE }],
342+
objects: [{ type: ACCESS_CONTROL_TYPE }, { type: ACCESS_CONTROL_TYPE }],
343343
})
344344
.expect(200);
345345

@@ -349,7 +349,7 @@ export default function ({ getService }: FtrProviderContext) {
349349
expect(createdObj).not.to.have.property('error');
350350

351351
const getResponse = await supertestWithoutAuth
352-
.get(`/read_only_objects/${createdObj.id}`)
352+
.get(`/access_control_objects/${createdObj.id}`)
353353
.set('kbn-xsrf', 'true')
354354
.set(
355355
'Authorization',

0 commit comments

Comments
 (0)