|
|
@ -204,7 +204,7 @@ class NewsControllerTest extends TestCase
|
|
|
|
->willReturn($canEditHtml);
|
|
|
|
->willReturn($canEditHtml);
|
|
|
|
$this->response->expects($this->once())
|
|
|
|
$this->response->expects($this->once())
|
|
|
|
->method('redirectTo')
|
|
|
|
->method('redirectTo')
|
|
|
|
->with('http://localhost/news/' . $id)
|
|
|
|
->with('http://localhost/news')
|
|
|
|
->willReturn($this->response);
|
|
|
|
->willReturn($this->response);
|
|
|
|
|
|
|
|
|
|
|
|
/** @var NewsController $controller */
|
|
|
|
/** @var NewsController $controller */
|
|
|
|