public function UpdateLayoutRequestHandlerTest::updatedLayoutGetsSaved in Panels 8.4
@test
File
- panels_ipe/
tests/ src/ Unit/ UpdateLayoutRequestHandlerTest.php, line 70
Class
Namespace
Drupal\Tests\panels_ipe\UnitCode
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())));
}