Skip to content

Commit

Permalink
Use valid arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
greg0ire committed May 11, 2020
1 parent b780c41 commit b36d497
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ protected function setUp() : void
public function testFailureToPrepareResultsInException() : void
{
// use the driver connection directly to avoid having exception wrapped
$stmt = $this->connection->getWrappedConnection()->prepare(null);
$stmt = $this->connection->getWrappedConnection()->prepare('');

// it's impossible to prepare the statement without bound variables for SQL Server,
// so the preparation happens before the first execution when variables are already in place
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public function testListForeignKeysFromExistingDatabase() : void
new Schema\ForeignKeyConstraint(
['log'],
'log',
[null],
[''],
'FK_3',
['onUpdate' => 'SET NULL', 'onDelete' => 'NO ACTION', 'deferrable' => false, 'deferred' => false]
),
Expand Down

0 comments on commit b36d497

Please sign in to comment.