mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Remove unused function args
This commit is contained in:
parent
7a18cd98e0
commit
2ef63ddbc1
@ -459,7 +459,7 @@ class HTTPTest extends FunctionalTest
|
|||||||
{
|
{
|
||||||
$this->withBaseURL(
|
$this->withBaseURL(
|
||||||
'http://www.silverstripe.org/',
|
'http://www.silverstripe.org/',
|
||||||
function ($test) {
|
function () {
|
||||||
$frameworkTests = ltrim(FRAMEWORK_DIR . '/tests', '/');
|
$frameworkTests = ltrim(FRAMEWORK_DIR . '/tests', '/');
|
||||||
$this->assertEquals(
|
$this->assertEquals(
|
||||||
"http://www.silverstripe.org/$frameworkTests/php/Control/HTTPTest.php",
|
"http://www.silverstripe.org/$frameworkTests/php/Control/HTTPTest.php",
|
||||||
@ -483,7 +483,7 @@ class HTTPTest extends FunctionalTest
|
|||||||
|
|
||||||
// Run middleware
|
// Run middleware
|
||||||
HTTPCacheControlMiddleware::singleton()
|
HTTPCacheControlMiddleware::singleton()
|
||||||
->process($request, function (HTTPRequest $request) use ($response) {
|
->process($request, function () use ($response) {
|
||||||
return $response;
|
return $response;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user