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
8be5a1ac
Commit
8be5a1ac
authored
Nov 17, 2011
by
Gasol Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove testCheck
parent
6fd9c46f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
16 deletions
+1
-16
tests/Solarium/Client/Adapter/PeclHttpTest.php
tests/Solarium/Client/Adapter/PeclHttpTest.php
+1
-16
No files found.
tests/Solarium/Client/Adapter/PeclHttpTest.php
View file @
8be5a1ac
...
...
@@ -45,21 +45,6 @@ class Solarium_Client_Adapter_PeclHttpTest extends PHPUnit_Framework_TestCase
$this
->
_adapter
=
new
Solarium_Client_Adapter_PeclHttp
();
}
public
function
testCheck
()
{
$data
=
'data'
;
$headers
=
array
(
'X-dummy: data'
);
// this should be ok, no exception
$this
->
_adapter
->
check
(
$data
,
$headers
);
$data
=
''
;
$headers
=
array
();
$this
->
setExpectedException
(
'Solarium_Exception'
);
$this
->
_adapter
->
check
(
$data
,
$headers
);
}
public
function
testExecute
()
{
$headers
=
array
(
'HTTP/1.0 200 OK'
);
...
...
@@ -80,4 +65,4 @@ class Solarium_Client_Adapter_PeclHttpTest extends PHPUnit_Framework_TestCase
$this
->
assertEquals
(
$headers
,
$response
->
getHeaders
());
}
}
\ 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