Example #1
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();
     $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'));
 }