Exemple #1
0
 /**
  * @test
  * @see DataSet/Assertion/localizeParentContentKeep.csv
  */
 public function localizeParentContentInKeepMode()
 {
     parent::localizeParentContentInKeepMode();
     $this->assertAssertionDataSet('localizeParentContentKeep');
     $responseSections = $this->getFrontendResponse(self::VALUE_PageId, self::VALUE_LanguageId, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseSections();
     $this->assertThat($responseSections, $this->getRequestSectionStructureDoesNotHaveRecordConstraint()->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdLast)->setRecordField(self::FIELD_ContentHotel)->setTable(self::TABLE_Hotel)->setField('title')->setValues('[Translate to Dansk:] Hotel #1'));
 }
Exemple #2
0
 /**
  * @test
  * @see DataSet/localizeParentContentKeep.csv
  */
 public function localizeParentContentInKeepMode()
 {
     parent::localizeParentContentInKeepMode();
     $this->actionService->publishRecord(self::TABLE_Content, $this->recordIds['localizedContentId']);
     $this->assertAssertionDataSet('localizeParentContentKeep');
     $responseSections = $this->getFrontendResponse(self::VALUE_PageId, self::VALUE_LanguageId)->getResponseSections('Default', 'Extbase:list()');
     $this->assertThat($responseSections, $this->getRequestSectionStructureDoesNotHaveRecordConstraint()->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdLast)->setRecordField(self::FIELD_ContentHotel)->setTable(self::TABLE_Hotel)->setField('title')->setValues('[Translate to Dansk:] Hotel #1'));
 }