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
662b3412
Commit
662b3412
authored
Feb 10, 2008
by
romanb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changes on the new test suite.
parent
373a0ac9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
16 deletions
+0
-16
Doctrine_DbalTestCase.php
tests/lib/Doctrine_DbalTestCase.php
+0
-1
Doctrine_DbalTestSuite.php
tests/lib/Doctrine_DbalTestSuite.php
+0
-6
Doctrine_OrmTestCase.php
tests/lib/Doctrine_OrmTestCase.php
+0
-1
Doctrine_OrmTestSuite.php
tests/lib/Doctrine_OrmTestSuite.php
+0
-8
No files found.
tests/lib/Doctrine_DbalTestCase.php
View file @
662b3412
...
...
@@ -16,7 +16,6 @@ class Doctrine_DbalTestCase extends Doctrine_TestCase
{
// Setup a db connection if there is none, yet. This makes it possible
// to run tests that use a connection standalone.
// @todo Make DBMS choice configurable
if
(
!
isset
(
$this
->
sharedFixture
[
'connection'
]))
{
$this
->
sharedFixture
[
'connection'
]
=
Doctrine_TestUtil
::
getConnection
();
}
...
...
tests/lib/Doctrine_DbalTestSuite.php
View file @
662b3412
...
...
@@ -11,14 +11,8 @@ class Doctrine_DbalTestSuite extends Doctrine_TestSuite
protected
function
setUp
()
{
// @todo Make DBMS choice configurable
$this
->
sharedFixture
[
'connection'
]
=
Doctrine_TestUtil
::
getConnection
();
}
protected
function
loadConnection
(
$conn
,
$name
)
{
return
Doctrine_Manager
::
connection
(
$conn
,
$name
);
}
protected
function
tearDown
()
{}
...
...
tests/lib/Doctrine_OrmTestCase.php
View file @
662b3412
...
...
@@ -34,7 +34,6 @@ class Doctrine_OrmTestCase extends Doctrine_TestCase
{
// Setup a db connection if there is none, yet. This makes it possible
// to run tests that use a connection standalone.
// @todo Make DBMS choice configurable
if
(
!
isset
(
$this
->
sharedFixture
[
'connection'
]))
{
$this
->
sharedFixture
[
'connection'
]
=
Doctrine_TestUtil
::
getConnection
();
}
...
...
tests/lib/Doctrine_OrmTestSuite.php
View file @
662b3412
...
...
@@ -10,16 +10,8 @@ class Doctrine_OrmTestSuite extends Doctrine_TestSuite
{
protected
function
setUp
()
{
// @todo Make DBMS choice configurable
//$pdo = new PDO('sqlite::memory:');
//$this->sharedFixture['connection'] = $this->loadConnection($pdo, 'sqlite_memory');
$this
->
sharedFixture
[
'connection'
]
=
Doctrine_TestUtil
::
getConnection
();
}
protected
function
loadConnection
(
$conn
,
$name
)
{
return
Doctrine_Manager
::
connection
(
$conn
,
$name
);
}
protected
function
tearDown
()
{}
...
...
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