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
754d604d
Unverified
Commit
754d604d
authored
Apr 01, 2020
by
Sergei Morozov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reworked unconditionally skipped tests
parent
2f5a3450
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
25 deletions
+0
-25
LoggingTest.php
tests/Functional/LoggingTest.php
+0
-16
PostgreSqlSchemaManagerTest.php
tests/Functional/Schema/PostgreSqlSchemaManagerTest.php
+0
-7
ComparatorTest.php
tests/Schema/ComparatorTest.php
+0
-2
No files found.
tests/Functional/LoggingTest.php
View file @
754d604d
...
...
@@ -23,22 +23,6 @@ class LoggingTest extends FunctionalTestCase
$this
->
connection
->
executeQuery
(
$sql
,
[]);
}
public
function
testLogExecuteUpdate
()
:
void
{
$this
->
markTestSkipped
(
'Test breaks MySQL but works on all other platforms (Unbuffered Queries stuff).'
);
$sql
=
$this
->
connection
->
getDatabasePlatform
()
->
getDummySelectSQL
();
$logMock
=
$this
->
createMock
(
SQLLogger
::
class
);
$logMock
->
expects
(
$this
->
at
(
0
))
->
method
(
'startQuery'
)
->
with
(
$this
->
equalTo
(
$sql
),
$this
->
equalTo
([]),
$this
->
equalTo
([]));
$logMock
->
expects
(
$this
->
at
(
1
))
->
method
(
'stopQuery'
);
$this
->
connection
->
getConfiguration
()
->
setSQLLogger
(
$logMock
);
$this
->
connection
->
executeUpdate
(
$sql
,
[]);
}
public
function
testLogPrepareExecute
()
:
void
{
$sql
=
$this
->
connection
->
getDatabasePlatform
()
->
getDummySelectSQL
();
...
...
tests/Functional/Schema/PostgreSqlSchemaManagerTest.php
View file @
754d604d
...
...
@@ -5,7 +5,6 @@ declare(strict_types=1);
namespace
Doctrine\DBAL\Tests\Functional\Schema
;
use
Doctrine\DBAL\Platforms\AbstractPlatform
;
use
Doctrine\DBAL\Platforms\PostgreSQL94Platform
;
use
Doctrine\DBAL\Schema
;
use
Doctrine\DBAL\Schema\Comparator
;
use
Doctrine\DBAL\Schema\ForeignKeyConstraint
;
...
...
@@ -417,12 +416,6 @@ class PostgreSqlSchemaManagerTest extends SchemaManagerFunctionalTestCase
public
function
testJsonbColumn
()
:
void
{
if
(
!
$this
->
schemaManager
->
getDatabasePlatform
()
instanceof
PostgreSQL94Platform
)
{
$this
->
markTestSkipped
(
'Requires PostgresSQL 9.4+'
);
return
;
}
$table
=
new
Schema\Table
(
'test_jsonb'
);
$table
->
addColumn
(
'foo'
,
Types
::
JSON
)
->
setPlatformOption
(
'jsonb'
,
true
);
$this
->
schemaManager
->
dropAndCreateTable
(
$table
);
...
...
tests/Schema/ComparatorTest.php
View file @
754d604d
...
...
@@ -816,8 +816,6 @@ class ComparatorTest extends TestCase
public
function
testDetectChangeIdentifierType
()
:
void
{
$this
->
markTestSkipped
(
'DBAL-2 was reopened, this test cannot work anymore.'
);
$tableA
=
new
Table
(
'foo'
);
$tableA
->
addColumn
(
'id'
,
'integer'
,
[
'autoincrement'
=>
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