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
193fa286
Unverified
Commit
193fa286
authored
Mar 14, 2018
by
Sergei Morozov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed MysqliConnectionTest
parent
8f8edc0c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
MysqliConnectionTest.php
...octrine/Tests/DBAL/Driver/Mysqli/MysqliConnectionTest.php
+5
-6
No files found.
tests/Doctrine/Tests/DBAL/Driver/Mysqli/MysqliConnectionTest.php
View file @
193fa286
...
@@ -4,9 +4,10 @@ namespace Doctrine\Tests\DBAL\Driver\Mysqli;
...
@@ -4,9 +4,10 @@ namespace Doctrine\Tests\DBAL\Driver\Mysqli;
use
Doctrine\DBAL\Driver\Mysqli\MysqliConnection
;
use
Doctrine\DBAL\Driver\Mysqli\MysqliConnection
;
use
Doctrine\DBAL\Driver\Mysqli\MysqliException
;
use
Doctrine\DBAL\Driver\Mysqli\MysqliException
;
use
Doctrine\Tests\DbalTestCase
;
use
Doctrine\DBAL\Platforms\MySqlPlatform
;
use
Doctrine\Tests\DbalFunctionalTestCase
;
class
MysqliConnectionTest
extends
DbalTestCase
class
MysqliConnectionTest
extends
Dbal
Functional
TestCase
{
{
/**
/**
* The mysqli driver connection mock under test.
* The mysqli driver connection mock under test.
...
@@ -23,8 +24,8 @@ class MysqliConnectionTest extends DbalTestCase
...
@@ -23,8 +24,8 @@ class MysqliConnectionTest extends DbalTestCase
parent
::
setUp
();
parent
::
setUp
();
if
(
!
$this
->
connectionMock
->
getDatabasePlatform
()
instanceof
MySqlPlatform
)
{
if
(
!
$this
->
_conn
->
getDatabasePlatform
()
instanceof
MySqlPlatform
)
{
$this
->
markTestSkipped
(
'MySQL only test.'
);
$this
->
markTestSkipped
(
'MySQL only test.'
);
}
}
$this
->
connectionMock
=
$this
->
getMockBuilder
(
MysqliConnection
::
class
)
$this
->
connectionMock
=
$this
->
getMockBuilder
(
MysqliConnection
::
class
)
...
@@ -53,6 +54,4 @@ class MysqliConnectionTest extends DbalTestCase
...
@@ -53,6 +54,4 @@ class MysqliConnectionTest extends DbalTestCase
restore_error_handler
();
restore_error_handler
();
restore_error_handler
();
restore_error_handler
();
}
}
}
}
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