message: fix(shell-api): drop createdFromQuery from integration tests
diff: @@ -2000,23 +2000,18 @@ describe('Shell API (integration)', function() {
  const planCache = collection.getPlanCache();
  const res = await planCache.list();
  expect(res.length).to.equal(4);
  - expect(res[0].createdFromQuery).to.deep.equal({
  - query: { quantity: { $gte: 5 }, type: 'apparel' },
  - sort: {},
  - projection: {}
  - });
  });
  it('lists projection with args', async() => {
  await loadQueryCache(collection);
  const planCache = collection.getPlanCache();
  - const res = await planCache.list([{ $project: { createdFromQuery: 1, queryHash: 1 } }]);
  + const res = await planCache.list([{ $project: { queryHash: 1 } }]);
  expect(res).to.deep.equal([
  // We do not test for the exact query hashes here, as they can vary between
  // server versions. Hashes for queries 3 and 4 are always equal currently.
  - { createdFromQuery: { query: { quantity: { $gte: 5 }, type: 'apparel' }, sort: { }, projection: { } }, queryHash: `${res[0].queryHash}` },
  - { createdFromQuery: { query: { quantity: { $gte: 20 } }, sort: { }, projection: { } }, queryHash: `${res[1].queryHash}` },
  - { createdFromQuery: { query: { item: 'abc', price: { $gte: 5 } }, sort: { }, projection: { } }, queryHash: `${res[2].queryHash}` },
  - { createdFromQuery: { query: { item: 'abc', price: { $gte: 10 } }, sort: { }, projection: { } }, queryHash: `${res[2].queryHash}` }
  + { queryHash: `${res[0].queryHash}` },
  + { queryHash: `${res[1].queryHash}` },
  + { queryHash: `${res[2].queryHash}` },
  + { queryHash: `${res[2].queryHash}` }
  ]);
  });
  });
  @@ -2038,11 +2033,9 @@ describe('Shell API (integration)', function() {
  await loadQueryCache(collection);
  const planCache = collection.getPlanCache();
  expect((await planCache.list()).length).to.equal(4);
  - expect((await planCache.list())[0].createdFromQuery.query).to.deep.equal(query);
  const clearRes = await planCache.clearPlansByQuery(query);
  expect(clearRes.ok).to.equal(1);
  expect((await planCache.list()).length).to.equal(3);
  - expect((await planCache.list())[0].createdFromQuery.query).to.not.deep.equal(query);
  });
  });
  });
  