Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
b0523e05
Unverified
Commit
b0523e05
authored
May 04, 2020
by
Grégoire Paris
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use valid arguments
parent
3fa5b3e0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
StatementTest.php
...ine/Tests/DBAL/Functional/Driver/SQLSrv/StatementTest.php
+1
-1
SqliteSchemaManagerTest.php
.../Tests/DBAL/Functional/Schema/SqliteSchemaManagerTest.php
+1
-1
No files found.
tests/Doctrine/Tests/DBAL/Functional/Driver/SQLSrv/StatementTest.php
View file @
b0523e05
...
@@ -27,7 +27,7 @@ class StatementTest extends DbalFunctionalTestCase
...
@@ -27,7 +27,7 @@ class StatementTest extends DbalFunctionalTestCase
public
function
testFailureToPrepareResultsInException
()
:
void
public
function
testFailureToPrepareResultsInException
()
:
void
{
{
// use the driver connection directly to avoid having exception wrapped
// 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,
// 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
// so the preparation happens before the first execution when variables are already in place
...
...
tests/Doctrine/Tests/DBAL/Functional/Schema/SqliteSchemaManagerTest.php
View file @
b0523e05
...
@@ -98,7 +98,7 @@ EOS
...
@@ -98,7 +98,7 @@ EOS
new
Schema\ForeignKeyConstraint
(
new
Schema\ForeignKeyConstraint
(
[
'log'
],
[
'log'
],
'log'
,
'log'
,
[
null
],
[
''
],
'FK_3'
,
'FK_3'
,
[
'onUpdate'
=>
'SET NULL'
,
'onDelete'
=>
'NO ACTION'
,
'deferrable'
=>
false
,
'deferred'
=>
false
]
[
'onUpdate'
=>
'SET NULL'
,
'onDelete'
=>
'NO ACTION'
,
'deferrable'
=>
false
,
'deferred'
=>
false
]
),
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment