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
7c419f5e
Commit
7c419f5e
authored
Jun 29, 2016
by
Andreas Pohl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
corrected functional tests
removed unnecessary setup/teardown-methods
parent
7929c7f3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
36 deletions
+2
-36
ConnectionTest.php
...sts/DBAL/Functional/Driver/SQLAnywhere/ConnectionTest.php
+1
-18
StatementTest.php
...ests/DBAL/Functional/Driver/SQLAnywhere/StatementTest.php
+1
-18
No files found.
tests/Doctrine/Tests/DBAL/Functional/Driver/SQLAnywhere/ConnectionTest.php
View file @
7c419f5e
<?php
namespace
Doctrine\Tests\DBAL\Functional\Driver\SQLAnywhere
;
use
Doctrine\DBAL\DriverManager
;
class
ConnectionTest
extends
\Doctrine\Tests\DbalFunctionalTestCase
{
protected
function
setUp
()
{
if
(
!
extension_loaded
(
'sqlanywhere'
))
{
$this
->
markTestSkipped
(
'sqlanywhere is not installed.'
);
}
parent
::
setUp
();
if
(
!
(
$this
->
_conn
->
getDriver
()
instanceof
\Doctrine\DBAL\Driver\SQLAnywhere\Driver
))
{
$this
->
markTestSkipped
(
'sqlanywhere only test.'
);
}
}
protected
function
tearDown
()
{
parent
::
tearDown
();
}
public
function
testNonPersistentConnection
()
{
$params
=
$this
->
_conn
->
getParams
();
...
...
tests/Doctrine/Tests/DBAL/Functional/Driver/SQLAnywhere/StatementTest.php
View file @
7c419f5e
<?php
namespace
Doctrine\Tests\DBAL\Functional\Driver\SQLAnywhere
;
use
Doctrine\DBAL\DriverManager
;
class
StatementTest
extends
\Doctrine\Tests\DbalFunctionalTestCase
{
protected
function
setUp
()
{
if
(
!
extension_loaded
(
'sqlanywhere'
))
{
$this
->
markTestSkipped
(
'sqlanywhere is not installed.'
);
}
parent
::
setUp
();
if
(
!
(
$this
->
_conn
->
getDriver
()
instanceof
\Doctrine\DBAL\Driver\SQLAnywhere\Driver
))
{
$this
->
markTestSkipped
(
'sqlanywhere only test.'
);
}
}
protected
function
tearDown
()
{
parent
::
tearDown
();
}
public
function
testNonPersistentStatement
()
{
$params
=
$this
->
_conn
->
getParams
();
...
...
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