@@ -466,7 +466,7 @@ public function testUpdateBatchConstraintsRawSqlAndAlias(): void
466
466
467
467
public function testUpdateBatchUpdateFieldsAndAlias (): void
468
468
{
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 ) {
470
470
$ this ->markTestSkipped ('Only SQLite 3.33 and newer can complete this test. ' );
471
471
}
472
472
@@ -557,7 +557,7 @@ public function testUpdateBatchUpdateFieldsAndAlias(): void
557
557
558
558
public function testUpdateBatchWithoutOnConstraint (): void
559
559
{
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 ) {
561
561
$ this ->markTestSkipped ('Only SQLite 3.33 and newer can complete this test. ' );
562
562
}
563
563
@@ -599,7 +599,7 @@ public function testUpdateBatchWithoutOnConstraint(): void
599
599
600
600
public function testRawSqlConstraint (): void
601
601
{
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 ) {
603
603
$ this ->markTestSkipped ('Only SQLite 3.33 and newer can complete this test. ' );
604
604
}
605
605
@@ -623,7 +623,7 @@ public function testRawSqlConstraint(): void
623
623
624
624
public function testRawSqlConstraintWithKey (): void
625
625
{
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 ) {
627
627
$ this ->markTestSkipped ('Only SQLite 3.33 and newer can complete this test. ' );
628
628
}
629
629
@@ -710,7 +710,7 @@ public function testUpdateBatchWithQuery(): void
710
710
];
711
711
$ this ->db ->table ('user2 ' )->insertBatch ($ data );
712
712
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 ) {
714
714
$ this ->markTestSkipped ('Only SQLite 3.33 and newer can complete this test. ' );
715
715
}
716
716
0 commit comments