diff --git a/Unit_testing/Schema.php b/Unit_testing/Schema.php index 088c00f..e2643d3 100644 --- a/Unit_testing/Schema.php +++ b/Unit_testing/Schema.php @@ -1045,7 +1045,7 @@ } catch ( PDOException $e ) { - if ( ( strpos( $e->getMessage(), "check constraint" ) !== TRUE ) ) + if ( ( strpos( $e->getMessage(), "check constraint" ) !== FALSE ) ) { $this->assertTrue( FALSE, $errorString ); } @@ -1188,7 +1188,7 @@ $underflowValue, $this->markAdjustments['incorrectCheck'] ); - + $this->assertTrue( $stmt->execute(), $errorString ); }