コード例 #1
0
ファイル: ActionTest.php プロジェクト: rickymathew/TYPO3.CMS
 /**
  * @test
  * @see DataSet/Assertion/modifyParentRecordWithHotelChildRecord.csv
  */
 public function modifyParentWithHotelChild()
 {
     parent::modifyParentWithHotelChild();
     $this->actionService->publishRecord(self::TABLE_Content, self::VALUE_ContentIdFirst);
     $this->assertAssertionDataSet('modifyParentNHotelChild');
     $responseSections = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseSections();
     $this->assertThat($responseSections, $this->getRequestSectionStructureHasRecordConstraint()->setRecordIdentifier(self::TABLE_Content . ':' . self::VALUE_ContentIdFirst)->setRecordField(self::FIELD_ContentHotel)->setTable(self::TABLE_Hotel)->setField('title')->setValues('Hotel #1', 'Testing #1'));
 }