public function UpdateLayoutRequestHandlerTest::successfulTempStoreSaveOperationResultsInEmptyJsonResponse in Panels 8.3
@test
File
- tests/
src/ Unit/ panels_ipe/ UpdateLayoutRequestHandlerTest.php, line 65
Class
Namespace
Drupal\Tests\panels\Unit\panels_ipeCode
public function successfulTempStoreSaveOperationResultsInEmptyJsonResponse() {
$this
->setPanelsDisplayExpectations();
$this->sut
->handleRequest($this->panelsDisplay, $this
->createRequest(Json::encode($this
->getLayoutModel())), TRUE);
$this
->assertEquals(new JsonResponse([]), $this->sut
->getJsonResponse());
}