You are here

protected function RequestHandlerTestBase::createRequest in Panels 8.3

9 calls to RequestHandlerTestBase::createRequest()
RemoveBlockRequestHandlerTest::panelsDisplayIsSavedAfterBlockRemoval in tests/src/Unit/panels_ipe/RemoveBlockRequestHandlerTest.php
@test
RemoveBlockRequestHandlerTest::panelsDisplayIsSavedToTempstoreAfterBlockRemoval in tests/src/Unit/panels_ipe/RemoveBlockRequestHandlerTest.php
@test
RemoveBlockRequestHandlerTest::removeBlockRequestRemovesTheBlock in tests/src/Unit/panels_ipe/RemoveBlockRequestHandlerTest.php
@test
RequestHandlerTestBase::emptyRequestResultsInFailedResponse in tests/src/Unit/panels_ipe/RequestHandlerTestBase.php
@test
UpdateLayoutRequestHandlerTest::hookPreSaveGetsCalledBeforeSave in tests/src/Unit/panels_ipe/UpdateLayoutRequestHandlerTest.php
@test

... See full list

File

tests/src/Unit/panels_ipe/RequestHandlerTestBase.php, line 59

Class

RequestHandlerTestBase
Base tests for IPE request handler classes.

Namespace

Drupal\Tests\panels\Unit\panels_ipe

Code

protected function createRequest($content = NULL) {
  return new Request([], [], [], [], [], [], $content);
}