Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/dev/build/tasks/copy_source_task.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ export const CopySourceTask = {
'!src/test_utils/**',
'!src/fixtures/**',
'!src/legacy/core_plugins/tests_bundle/**',
'!src/legacy/core_plugins/testbed/**',
'!src/legacy/core_plugins/console/public/tests/**',
'!src/plugins/testbed/**',
'!src/cli/cluster/**',
'!src/cli/repl/**',
'!src/es_archiver/**',
Expand Down
8 changes: 0 additions & 8 deletions src/legacy/core_plugins/testbed/README.md

This file was deleted.

30 changes: 0 additions & 30 deletions src/legacy/core_plugins/testbed/index.js

This file was deleted.

4 changes: 0 additions & 4 deletions src/legacy/core_plugins/testbed/package.json

This file was deleted.

20 changes: 0 additions & 20 deletions src/legacy/core_plugins/testbed/public/index.js

This file was deleted.

12 changes: 0 additions & 12 deletions src/legacy/core_plugins/testbed/public/testbed.html

This file was deleted.

29 changes: 0 additions & 29 deletions src/legacy/core_plugins/testbed/public/testbed.js

This file was deleted.

8 changes: 0 additions & 8 deletions src/plugins/testbed/kibana.json

This file was deleted.

25 changes: 0 additions & 25 deletions src/plugins/testbed/public/index.ts

This file was deleted.

48 changes: 0 additions & 48 deletions src/plugins/testbed/public/plugin.ts

This file was deleted.

114 changes: 0 additions & 114 deletions src/plugins/testbed/server/index.ts

This file was deleted.

13 changes: 0 additions & 13 deletions test/api_integration/apis/core/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,6 @@ export default function ({ getService }) {
const supertest = getService('supertest');

describe('core', () => {
describe('request context', () => {
it('provides access to elasticsearch', async () =>
await supertest.get('/requestcontext/elasticsearch').expect(200, 'Elasticsearch: true'));

it('provides access to SavedObjects client', async () =>
await supertest
.get('/requestcontext/savedobjectsclient')
.expect(
200,
'SavedObjects client: {"page":1,"per_page":20,"total":0,"saved_objects":[]}'
));
});
Comment on lines -25 to -36
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, these two tests are based on endpoints that were living in the KP testbed plugin.

I just removed them as I didn't feel like they were adding much value now that most of the plugins have been migrated and using the ES and SO clients from the context.

If we prefer, I can create a test plugin with the testbed's endpoints instead.


describe('compression', () => {
it(`uses compression when there isn't a referer`, async () => {
await supertest
Expand Down