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