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
f1ccaed4
Commit
f1ccaed4
authored
Sep 09, 2016
by
Marco Pivetta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#2497 #2500 simplified test case scenario (inlined statement)
parent
4a7313be
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
DataAccessTest.php
tests/Doctrine/Tests/DBAL/Functional/DataAccessTest.php
+3
-3
No files found.
tests/Doctrine/Tests/DBAL/Functional/DataAccessTest.php
View file @
f1ccaed4
...
...
@@ -241,9 +241,9 @@ class DataAccessTest extends \Doctrine\Tests\DbalFunctionalTestCase
public
function
testFetchNoResult
()
{
$sql
=
"SELECT test_int FROM fetch_table WHERE test_int = ?"
;
$row
=
$this
->
_conn
->
executeQuery
(
$sql
,
array
(
-
1
))
->
fetch
();
$this
->
assertFalse
(
$row
);
self
::
assertFalse
(
$this
->
_conn
->
executeQuery
(
'SELECT test_int FROM fetch_table WHERE test_int = ?'
,
[
-
1
])
->
fetch
()
);
}
public
function
testFetchAssoc
()
...
...
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