Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
solarium
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
solarium
Commits
82f461fd
Commit
82f461fd
authored
Feb 16, 2011
by
Bas de Nooijer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed tests
parent
8ae9804a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
9 deletions
+8
-9
tests/Solarium/Client/RequestTest.php
tests/Solarium/Client/RequestTest.php
+8
-0
tests/Solarium/QueryTest.php
tests/Solarium/QueryTest.php
+0
-9
No files found.
tests/Solarium/Client/RequestTest.php
View file @
82f461fd
...
...
@@ -126,6 +126,14 @@ class Solarium_Client_RequestTest extends PHPUnit_Framework_TestCase
);
}
public
function
testRenderLocalParamsWithoutParams
()
{
$this
->
assertEquals
(
'myValue'
,
$this
->
_getRequest
(
$this
->
_options
)
->
renderLocalParams
(
'myValue'
)
);
}
public
function
testAddParamWithNewParam
()
{
$request
=
$this
->
_getRequest
(
$this
->
_options
);
...
...
tests/Solarium/QueryTest.php
View file @
82f461fd
...
...
@@ -54,14 +54,5 @@ class Solarium_QueryTest extends PHPUnit_Framework_TestCase
$query
->
escapeValue
(
'a+b'
)
);
}
public
function
testRenderLocalParamsWithoutParams
()
{
$query
=
new
Solarium_Query
();
$this
->
assertEquals
(
'myValue'
,
$query
->
renderLocalParams
(
'myValue'
)
);
}
}
\ No newline at end of file
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