Skip to content

Commit

Permalink
TEST: generate an artificial deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
rudolf committed Dec 3, 2021
1 parent 5374ac7 commit ed0e08b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/core/server/saved_objects/service/lib/repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -962,6 +962,7 @@ export class SavedObjectsRepository {
esOptions,
{
ignore: [404],
headers: { 'x-elastic-product-origin': 'make deprecation' },
}
);
if (statusCode === 404) {
Expand Down
2 changes: 1 addition & 1 deletion test/api_integration/apis/saved_objects/find.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default function ({ getService }: FtrProviderContext) {
const kibanaServer = getService('kibanaServer');
const SPACE_ID = 'ftr-so-find';

describe('find', () => {
describe.only('find', () => {
before(async () => {
await kibanaServer.spaces.create({ id: SPACE_ID, name: SPACE_ID });
await kibanaServer.importExport.load(
Expand Down

0 comments on commit ed0e08b

Please sign in to comment.