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
1df1c74a
Commit
1df1c74a
authored
Jan 09, 2016
by
Steve Müller
Committed by
Marco Pivetta
Sep 09, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix mocking PDO
parent
1941f068
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
DriverManagerTest.php
tests/Doctrine/Tests/DBAL/DriverManagerTest.php
+1
-3
PDOMock.php
tests/Doctrine/Tests/Mocks/PDOMock.php
+10
-0
No files found.
tests/Doctrine/Tests/DBAL/DriverManagerTest.php
View file @
1df1c74a
...
...
@@ -142,9 +142,7 @@ class DriverManagerTest extends \Doctrine\Tests\DbalTestCase
public
function
databaseUrls
()
{
$pdoMock
=
$this
->
getMockBuilder
(
'PDO'
)
->
disableOriginalConstructor
()
->
getMock
();
$pdoMock
=
$this
->
getMock
(
'Doctrine\Tests\Mocks\PDOMock'
);
return
array
(
'simple URL'
=>
array
(
...
...
tests/Doctrine/Tests/Mocks/PDOMock.php
0 → 100644
View file @
1df1c74a
<?php
namespace
Doctrine\Tests\Mocks
;
class
PDOMock
extends
\PDO
{
public
function
__construct
()
{
}
}
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