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
ebdfbcb7
Commit
ebdfbcb7
authored
May 26, 2007
by
zYne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--no commit message
--no commit message
parent
adc870d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
CollectionTestCase.php
tests/CollectionTestCase.php
+3
-3
No files found.
tests/CollectionTestCase.php
View file @
ebdfbcb7
...
...
@@ -98,7 +98,7 @@ class Doctrine_Collection_TestCase extends Doctrine_UnitTestCase
$this->assertEqual($coll->count(), 1);
$this->assertEqual($coll[0]->name, 'zYne');
}
*/
public function testLoadRelatedForNormalAssociation()
{
...
...
@@ -130,7 +130,7 @@ class Doctrine_Collection_TestCase extends Doctrine_UnitTestCase
$this->assertEqual($resource[1]->Type[1]->type, 'type 4');
$this->assertEqual(($count + 1), $this->dbh->count());
}
*/
public
function
testAdd
()
{
$coll
=
new
Doctrine_Collection
(
$this
->
objTable
);
...
...
@@ -232,7 +232,7 @@ class Doctrine_Collection_TestCase extends Doctrine_UnitTestCase
}
public
function
testExpand
()
{
$users
=
$this
->
connection
->
query
(
"FROM User
-b.Phonenumber-l
WHERE User.Phonenumber.phonenumber LIKE '%123%'"
);
$users
=
$this
->
connection
->
query
(
"FROM User
.Phonenumber
WHERE User.Phonenumber.phonenumber LIKE '%123%'"
);
$this
->
assertTrue
(
$users
instanceof
Doctrine_Collection_Batch
);
$this
->
assertTrue
(
$users
[
1
]
instanceof
User
);
...
...
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