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
c7dff99b
Commit
c7dff99b
authored
Mar 01, 2010
by
guilhermeblanco
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[2.0] Fixed ExprTest that was failing due to one of my previous commits.
parent
de29fa97
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ExprTest.php
tests/Doctrine/Tests/ORM/Query/ExprTest.php
+2
-2
No files found.
tests/Doctrine/Tests/ORM/Query/ExprTest.php
View file @
c7dff99b
...
@@ -180,9 +180,9 @@ class ExprTest extends \Doctrine\Tests\OrmTestCase
...
@@ -180,9 +180,9 @@ class ExprTest extends \Doctrine\Tests\OrmTestCase
$this
->
assertEquals
(
'CONCAT(u.first_name, u.last_name)'
,
(
string
)
$this
->
_expr
->
concat
(
'u.first_name'
,
'u.last_name'
));
$this
->
assertEquals
(
'CONCAT(u.first_name, u.last_name)'
,
(
string
)
$this
->
_expr
->
concat
(
'u.first_name'
,
'u.last_name'
));
}
}
public
function
testSubstrExpr
()
public
function
testSubstr
ing
Expr
()
{
{
$this
->
assertEquals
(
'SUBSTR
(a.title, 0, 25)'
,
(
string
)
$this
->
_expr
->
substr
(
'a.title'
,
0
,
25
));
$this
->
assertEquals
(
'SUBSTR
ING(a.title, 0, 25)'
,
(
string
)
$this
->
_expr
->
substring
(
'a.title'
,
0
,
25
));
}
}
public
function
testLowerExpr
()
public
function
testLowerExpr
()
...
...
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