Skip to content

Commit b2e273d

Browse files
fix: use the request object resolved from the app container as parameter to kernel's terminate method call (#52)
1 parent 5c1657d commit b2e273d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Codeception/Lib/Connector/Laravel.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ protected function doRequest($request): Response
111111

112112
$request = Request::createFromBase($request);
113113
$response = $this->kernel->handle($request);
114-
$this->getHttpKernel()->terminate($request, $response);
114+
$this->getHttpKernel()->terminate($this->app['request'], $response);
115115

116116
return $response;
117117
}

0 commit comments

Comments
 (0)