diff --git a/client/src/features/project/components/cloudStorage/projectCloudStorage.constants.ts b/client/src/features/project/components/cloudStorage/projectCloudStorage.constants.ts index 31b208e0c..fb0c67848 100644 --- a/client/src/features/project/components/cloudStorage/projectCloudStorage.constants.ts +++ b/client/src/features/project/components/cloudStorage/projectCloudStorage.constants.ts @@ -148,5 +148,5 @@ export const EMPTY_CLOUD_STORAGE_DETAILS: CloudStorageDetails = { name: undefined, sourcePath: undefined, mountPoint: undefined, - readOnly: undefined, + readOnly: true, }; diff --git a/tests/cypress/e2e/projectSettings.spec.ts b/tests/cypress/e2e/projectSettings.spec.ts index 77a6349fe..d670fc3ec 100644 --- a/tests/cypress/e2e/projectSettings.spec.ts +++ b/tests/cypress/e2e/projectSettings.spec.ts @@ -430,7 +430,7 @@ describe("Cloud storage settings page", () => { const { name, readonly, target_path } = body; expect(name).to.equal("fake-storage"); - expect(readonly).to.be.false; + expect(readonly).to.be.true; expect(target_path).to.equal("external_storage/fake-storage"); });