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
54f85836
Unverified
Commit
54f85836
authored
May 24, 2020
by
Grégoire Paris
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unneeded assertions
parent
f625ea5d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
12 deletions
+0
-12
AbstractSQLServerPlatformTestCase.php
tests/Platforms/AbstractSQLServerPlatformTestCase.php
+0
-2
OraclePlatformTest.php
tests/Platforms/OraclePlatformTest.php
+0
-3
SqlitePlatformTest.php
tests/Platforms/SqlitePlatformTest.php
+0
-7
No files found.
tests/Platforms/AbstractSQLServerPlatformTestCase.php
View file @
54f85836
...
...
@@ -15,7 +15,6 @@ use Doctrine\DBAL\Schema\Table;
use
Doctrine\DBAL\Schema\TableDiff
;
use
Doctrine\DBAL\TransactionIsolationLevel
;
use
Doctrine\DBAL\Types\Type
;
use
function
assert
;
abstract
class
AbstractSQLServerPlatformTestCase
extends
AbstractPlatformTestCase
{
...
...
@@ -1086,7 +1085,6 @@ abstract class AbstractSQLServerPlatformTestCase extends AbstractPlatformTestCas
*/
public
function
testGeneratesIdentifierNamesInDefaultConstraintDeclarationSQL
(
string
$table
,
array
$column
,
string
$expectedSql
)
:
void
{
assert
(
$this
->
platform
instanceof
SQLServer2012Platform
);
self
::
assertSame
(
$expectedSql
,
$this
->
platform
->
getDefaultConstraintDeclarationSQL
(
$table
,
$column
));
}
...
...
tests/Platforms/OraclePlatformTest.php
View file @
54f85836
...
...
@@ -18,7 +18,6 @@ use Doctrine\DBAL\Schema\TableDiff;
use
Doctrine\DBAL\TransactionIsolationLevel
;
use
Doctrine\DBAL\Types\Type
;
use
function
array_walk
;
use
function
assert
;
use
function
preg_replace
;
use
function
sprintf
;
use
function
strtoupper
;
...
...
@@ -701,8 +700,6 @@ class OraclePlatformTest extends AbstractPlatformTestCase
*/
public
function
testReturnsDropAutoincrementSQL
(
string
$table
,
array
$expectedSql
)
:
void
{
assert
(
$this
->
platform
instanceof
OraclePlatform
);
self
::
assertSame
(
$expectedSql
,
$this
->
platform
->
getDropAutoincrementSql
(
$table
));
}
...
...
tests/Platforms/SqlitePlatformTest.php
View file @
54f85836
...
...
@@ -12,7 +12,6 @@ use Doctrine\DBAL\Schema\Table;
use
Doctrine\DBAL\Schema\TableDiff
;
use
Doctrine\DBAL\TransactionIsolationLevel
;
use
Doctrine\DBAL\Types\Type
;
use
function
assert
;
class
SqlitePlatformTest
extends
AbstractPlatformTestCase
{
...
...
@@ -89,8 +88,6 @@ class SqlitePlatformTest extends AbstractPlatformTestCase
*/
public
function
testGeneratesTypeDeclarationForTinyIntegers
()
:
void
{
assert
(
$this
->
platform
instanceof
SqlitePlatform
);
self
::
assertEquals
(
'TINYINT'
,
$this
->
platform
->
getTinyIntTypeDeclarationSQL
([])
...
...
@@ -121,8 +118,6 @@ class SqlitePlatformTest extends AbstractPlatformTestCase
*/
public
function
testGeneratesTypeDeclarationForSmallIntegers
()
:
void
{
assert
(
$this
->
platform
instanceof
SqlitePlatform
);
self
::
assertEquals
(
'SMALLINT'
,
$this
->
platform
->
getSmallIntTypeDeclarationSQL
([])
...
...
@@ -157,8 +152,6 @@ class SqlitePlatformTest extends AbstractPlatformTestCase
*/
public
function
testGeneratesTypeDeclarationForMediumIntegers
()
:
void
{
assert
(
$this
->
platform
instanceof
SqlitePlatform
);
self
::
assertEquals
(
'MEDIUMINT'
,
$this
->
platform
->
getMediumIntTypeDeclarationSQL
([])
...
...
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