@@ -466,7 +466,7 @@ public function testUpdateBatchConstraintsRawSqlAndAlias(): void
466466
467467 public function testUpdateBatchUpdateFieldsAndAlias (): void
468468 {
469- if ($ this ->db ->DBDriver === 'SQLite3 ' && ! ( version_compare ($ this ->db ->getVersion (), '3.33.0 ' ) >= 0 ) ) {
469+ if ($ this ->db ->DBDriver === 'SQLite3 ' && version_compare ($ this ->db ->getVersion (), '3.33.0 ' ) < 0 ) {
470470 $ this ->markTestSkipped ('Only SQLite 3.33 and newer can complete this test. ' );
471471 }
472472
@@ -557,7 +557,7 @@ public function testUpdateBatchUpdateFieldsAndAlias(): void
557557
558558 public function testUpdateBatchWithoutOnConstraint (): void
559559 {
560- if ($ this ->db ->DBDriver === 'SQLite3 ' && ! ( version_compare ($ this ->db ->getVersion (), '3.33.0 ' ) >= 0 ) ) {
560+ if ($ this ->db ->DBDriver === 'SQLite3 ' && version_compare ($ this ->db ->getVersion (), '3.33.0 ' ) < 0 ) {
561561 $ this ->markTestSkipped ('Only SQLite 3.33 and newer can complete this test. ' );
562562 }
563563
@@ -599,7 +599,7 @@ public function testUpdateBatchWithoutOnConstraint(): void
599599
600600 public function testRawSqlConstraint (): void
601601 {
602- if ($ this ->db ->DBDriver === 'SQLite3 ' && ! ( version_compare ($ this ->db ->getVersion (), '3.33.0 ' ) >= 0 ) ) {
602+ if ($ this ->db ->DBDriver === 'SQLite3 ' && version_compare ($ this ->db ->getVersion (), '3.33.0 ' ) < 0 ) {
603603 $ this ->markTestSkipped ('Only SQLite 3.33 and newer can complete this test. ' );
604604 }
605605
@@ -623,7 +623,7 @@ public function testRawSqlConstraint(): void
623623
624624 public function testRawSqlConstraintWithKey (): void
625625 {
626- if ($ this ->db ->DBDriver === 'SQLite3 ' && ! ( version_compare ($ this ->db ->getVersion (), '3.33.0 ' ) >= 0 ) ) {
626+ if ($ this ->db ->DBDriver === 'SQLite3 ' && version_compare ($ this ->db ->getVersion (), '3.33.0 ' ) < 0 ) {
627627 $ this ->markTestSkipped ('Only SQLite 3.33 and newer can complete this test. ' );
628628 }
629629
@@ -710,7 +710,7 @@ public function testUpdateBatchWithQuery(): void
710710 ];
711711 $ this ->db ->table ('user2 ' )->insertBatch ($ data );
712712
713- if ($ this ->db ->DBDriver === 'SQLite3 ' && ! ( version_compare ($ this ->db ->getVersion (), '3.33.0 ' ) >= 0 ) ) {
713+ if ($ this ->db ->DBDriver === 'SQLite3 ' && version_compare ($ this ->db ->getVersion (), '3.33.0 ' ) < 0 ) {
714714 $ this ->markTestSkipped ('Only SQLite 3.33 and newer can complete this test. ' );
715715 }
716716
0 commit comments