protected function setUp() { parent::setUp(); $this->backendUser->workspace = self::VALUE_WorkspaceId; }
/** * @test * @see DataSet/moveContentOfRelationToDifferentPage.csv */ public function moveContentOfRelationToDifferentPage() { parent::moveContentOfRelationToDifferentPage(); $this->assertAssertionDataSet('moveContentOfRelationToDifferentPage'); $responseSections = $this->getFrontendResponse(self::VALUE_PageIdTarget)->getResponseSections(); $this->assertThat($responseSections, $this->getRequestSectionStructureHasRecordConstraint()->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdLast)->setRecordField(self::FIELD_ContentElement)->setTable(self::TABLE_Element)->setField('title')->setValues('Element #2', 'Element #3')); }