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