Example #1
0
 /**
  * @test
  * @see DataSet/localizeParentContentWAllChildrenSelect.csv
  */
 public function localizeParentContentWithAllChildrenInSelectMode()
 {
     parent::localizeParentContentWithAllChildrenInSelectMode();
     $this->actionService->publishRecord(self::TABLE_Content, $this->recordIds['localizedContentId']);
     $this->assertAssertionDataSet('localizeParentContentWAllChildrenSelect');
     $responseSections = $this->getFrontendResponse(self::VALUE_PageId, self::VALUE_LanguageId)->getResponseSections();
     $this->assertThat($responseSections, $this->getRequestSectionStructureHasRecordConstraint()->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdLast)->setRecordField(self::FIELD_ContentHotel)->setTable(self::TABLE_Hotel)->setField('title')->setValues('[Translate to Dansk:] Hotel #1'));
 }