@@ -179,6 +179,9 @@ public void insertDocumentAsJson() {
179
179
180
180
@ Test
181
181
public void insertDocumentSilent () {
182
+ if (!requireVersion (3 , 3 )) {
183
+ return ;
184
+ }
182
185
final DocumentCreateEntity <BaseDocument > meta = db .collection (COLLECTION_NAME )
183
186
.insertDocument (new BaseDocument (), new DocumentCreateOptions ().silent (true ));
184
187
assertThat (meta , is (notNullValue ()));
@@ -189,6 +192,9 @@ public void insertDocumentSilent() {
189
192
190
193
@ Test
191
194
public void insertDocumentSilentDontTouchInstance () {
195
+ if (!requireVersion (3 , 3 )) {
196
+ return ;
197
+ }
192
198
final BaseDocument doc = new BaseDocument ();
193
199
final String key = "testkey" ;
194
200
doc .setKey (key );
@@ -630,6 +636,9 @@ public void updateDocumentIgnoreRevsFalse() {
630
636
631
637
@ Test
632
638
public void updateDocumentSilent () {
639
+ if (!requireVersion (3 , 3 )) {
640
+ return ;
641
+ }
633
642
final DocumentCreateEntity <BaseDocument > createResult = db .collection (COLLECTION_NAME )
634
643
.insertDocument (new BaseDocument ());
635
644
final DocumentUpdateEntity <BaseDocument > meta = db .collection (COLLECTION_NAME )
@@ -781,6 +790,9 @@ public void replaceDocumentReturnOld() {
781
790
782
791
@ Test
783
792
public void replaceDocumentSilent () {
793
+ if (!requireVersion (3 , 3 )) {
794
+ return ;
795
+ }
784
796
final DocumentCreateEntity <BaseDocument > createResult = db .collection (COLLECTION_NAME )
785
797
.insertDocument (new BaseDocument ());
786
798
final DocumentUpdateEntity <BaseDocument > meta = db .collection (COLLECTION_NAME )
@@ -856,6 +868,9 @@ public void deleteDocumentIfMatchFail() {
856
868
857
869
@ Test
858
870
public void deleteDocumentSilent () {
871
+ if (!requireVersion (3 , 3 )) {
872
+ return ;
873
+ }
859
874
final DocumentCreateEntity <BaseDocument > createResult = db .collection (COLLECTION_NAME )
860
875
.insertDocument (new BaseDocument ());
861
876
final DocumentDeleteEntity <BaseDocument > meta = db .collection (COLLECTION_NAME )
0 commit comments