-
- this.setField('cappedSize', newCappedSizeString)
- }
- onChangeIsCapped={(capped) =>
- this.setState({ isCapped: capped }, this.updateOptions)
- }
- />
{
@@ -243,7 +208,6 @@ export default class CollectionFields extends PureComponent {
/>
{hasClusteredCollectionSupport(serverVersion) && (
onChangeIsFLE2(checked)}
// Queryable Encryption is the user-facing name of FLE2
label="Queryable Encryption"
@@ -169,7 +168,6 @@ function FLE2Fields({
}
FLE2Fields.propTypes = {
- isCapped: PropTypes.bool.isRequired,
isTimeSeries: PropTypes.bool.isRequired,
isFLE2: PropTypes.bool.isRequired,
onChangeIsFLE2: PropTypes.func.isRequired,
diff --git a/packages/databases-collections/src/components/collection-fields/fle2-fields.spec.jsx b/packages/databases-collections/src/components/collection-fields/fle2-fields.spec.jsx
index 02035ca5bb6..3d25b0ca714 100644
--- a/packages/databases-collections/src/components/collection-fields/fle2-fields.spec.jsx
+++ b/packages/databases-collections/src/components/collection-fields/fle2-fields.spec.jsx
@@ -15,7 +15,6 @@ describe('FLE2Fields [Component]', function () {
component = mount(
{}}
- onChangeField={() => {}}
- expireAfterSeconds=""
- />
- );
- });
-
- afterEach(function () {
- component = null;
- });
-
- it('has the FLE2 checkbox disabled', function () {
- expect(component.find('Checkbox').props().disabled).to.equal(true);
- });
- });
-
describe('when the isTimeSeries prop is true', function () {
let component;
@@ -143,7 +112,6 @@ describe('FLE2Fields [Component]', function () {
component = mount(
onChangeIsTimeSeries(checked)}
toggled={isTimeSeries}
label="Time-Series"
@@ -174,7 +173,6 @@ function TimeSeriesFields({
}
TimeSeriesFields.propTypes = {
- isCapped: PropTypes.bool.isRequired,
isTimeSeries: PropTypes.bool.isRequired,
isClustered: PropTypes.bool.isRequired,
isFLE2: PropTypes.bool.isRequired,
diff --git a/packages/databases-collections/src/components/collection-fields/time-series-fields.spec.jsx b/packages/databases-collections/src/components/collection-fields/time-series-fields.spec.jsx
index 95b529834eb..4439f94be35 100644
--- a/packages/databases-collections/src/components/collection-fields/time-series-fields.spec.jsx
+++ b/packages/databases-collections/src/components/collection-fields/time-series-fields.spec.jsx
@@ -14,7 +14,6 @@ describe('TimeSeriesFields [Component]', function () {
component = mount(
{}}
- onChangeField={() => {}}
- timeSeries={{}}
- expireAfterSeconds=""
- />
- );
- });
-
- afterEach(function () {
- component = null;
- });
-
- it('has the time-series checkbox disabled', function () {
- expect(component.find('Checkbox').props().disabled).to.equal(true);
- });
- });
-
describe('when supportsFlexibleBucketConfiguration is true', function () {
it('renders flexible bucketing options', function () {
const component = mount(
;
timeseries?: Record;
@@ -389,7 +388,6 @@ export const createNamespace = (
await ds.createCollection(namespace, (options as any) ?? {});
const trackEvent = {
- is_capped: !!data.options.capped,
has_collation: !!data.options.collation,
is_timeseries: !!data.options.timeseries,
is_clustered: !!data.options.clusteredIndex,