message: Change summary tests should open iModel in ReadOnly mode.
diff: @@ -193,7 +193,7 @@ describe("ChangeSummary", () => {
  const testIModelId: string = testIModels[1].id;
  setupTest(testIModelId);
  - const iModel: IModelDb = await IModelDb.open(accessToken, testProjectId, testIModelId, OpenMode.ReadWrite, IModelVersion.latest());
  + const iModel: IModelDb = await IModelDb.open(accessToken, testProjectId, testIModelId, OpenMode.Readonly, IModelVersion.latest());
  await iModel.close(accessToken);
  assert.exists(iModel);
  assert.throw(() => ChangeSummaryManager.isChangeCacheAttached(iModel));
  @@ -205,7 +205,7 @@ describe("ChangeSummary", () => {
  const testIModelId: string = testIModels[0].id;
  setupTest(testIModelId);
  - const iModel: IModelDb = await IModelDb.open(accessToken, testProjectId, testIModelId, OpenMode.ReadWrite, IModelVersion.latest());
  + const iModel: IModelDb = await IModelDb.open(accessToken, testProjectId, testIModelId, OpenMode.Readonly, IModelVersion.latest());
  assert.exists(iModel);
  try {
  await ChangeSummaryManager.extractChangeSummaries(iModel);
  @@ -328,7 +328,7 @@ describe("ChangeSummary", () => {
  // now do second extraction for last changeset
  const lastChangesetId: string = changeSets[changeSets.length - 1].id!;
  await iModel.close(accessToken);
  - iModel = await IModelDb.open(accessToken, testProjectId, testIModels[0].id, OpenMode.ReadWrite, IModelVersion.asOfChangeSet(lastChangesetId));
  + iModel = await IModelDb.open(accessToken, testProjectId, testIModels[0].id, OpenMode.Readonly, IModelVersion.asOfChangeSet(lastChangesetId));
  // WIP not working yet until cache can be detached.
  // await iModel.pullAndMergeChanges(accessToken, IModelVersion.asOfChangeSet(lastChangesetId));
  