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
773c8ea9
Commit
773c8ea9
authored
Jan 30, 2013
by
Steve Müller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
revert SQLServerPlatformTest for now as it uses SQLServer2008Platform and thus fails
parent
479a6ddd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
27 deletions
+0
-27
SQLServerPlatformTest.php
...s/Doctrine/Tests/DBAL/Platforms/SQLServerPlatformTest.php
+0
-27
No files found.
tests/Doctrine/Tests/DBAL/Platforms/SQLServerPlatformTest.php
View file @
773c8ea9
...
...
@@ -114,11 +114,6 @@ class SQLServerPlatformTest extends AbstractPlatformTestCase
$this
->
assertTrue
(
$this
->
_platform
->
prefersIdentityColumns
());
}
public
function
testDoesNotPreferSequences
()
{
$this
->
assertFalse
(
$this
->
_platform
->
prefersSequences
());
}
public
function
testSupportsIdentityColumns
()
{
$this
->
assertTrue
(
$this
->
_platform
->
supportsIdentityColumns
());
...
...
@@ -129,11 +124,6 @@ class SQLServerPlatformTest extends AbstractPlatformTestCase
$this
->
assertTrue
(
$this
->
_platform
->
supportsSavepoints
());
}
public
function
testSupportsSequences
()
{
$this
->
assertTrue
(
$this
->
_platform
->
supportsSequences
());
}
public
function
getGenerateIndexSql
()
{
return
'CREATE INDEX my_idx ON mytable (user_name, last_login)'
;
...
...
@@ -238,23 +228,6 @@ class SQLServerPlatformTest extends AbstractPlatformTestCase
$this
->
assertEquals
(
'ALTER TABLE tbl ADD PRIMARY KEY (id)'
,
$this
->
_platform
->
getCreateIndexSQL
(
$idx
,
'tbl'
));
}
public
function
testGeneratesSequenceSqlCommands
()
{
$sequence
=
new
\Doctrine\DBAL\Schema\Sequence
(
'myseq'
,
20
,
1
);
$this
->
assertEquals
(
'CREATE SEQUENCE myseq START WITH 1 INCREMENT BY 20 MINVALUE 1'
,
$this
->
_platform
->
getCreateSequenceSQL
(
$sequence
)
);
$this
->
assertEquals
(
'DROP SEQUENCE myseq'
,
$this
->
_platform
->
getDropSequenceSQL
(
'myseq'
)
);
$this
->
assertEquals
(
"SELECT NEXT VALUE FOR myseq"
,
$this
->
_platform
->
getSequenceNextValSQL
(
'myseq'
)
);
}
protected
function
getQuotedColumnInPrimaryKeySQL
()
{
return
array
(
...
...
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