public function UpdateLayoutRequestHandlerTest::updatedLayoutGetsSaved in Panels 8.3
@test
File
- tests/
src/ Unit/ panels_ipe/ UpdateLayoutRequestHandlerTest.php, line 74
Class
Namespace
Drupal\Tests\panels\Unit\panels_ipeCode
public function updatedLayoutGetsSaved() {
$this
->setPanelsDisplayExpectations();
$this->panelsStore
->expects($this
->once())
->method('save');
$this->tempStore
->expects($this
->once())
->method('delete');
$this->tempStore
->expects($this
->never())
->method('set');
$this->sut
->handleRequest($this->panelsDisplay, $this
->createRequest(Json::encode($this
->getLayoutModel())));
}