Exemple #1
0
 /**
  * @test
  * @see DataSet/Assertion/modifyOnlyHotelChildRecord.csv
  */
 public function modifyOnlyHotelChild()
 {
     parent::modifyOnlyHotelChild();
     $this->assertAssertionDataSet('modifyOnlyHotelChild');
     $responseSections = $this->getFrontendResponse(self::VALUE_PageId, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->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'));
 }
Exemple #2
0
 /**
  * @test
  * @see DataSet/Assertion/modifyOnlyHotelChildRecord.csv
  */
 public function modifyOnlyHotelChild()
 {
     parent::modifyOnlyHotelChild();
     $this->actionService->publishRecord(self::TABLE_Hotel, 4);
     $this->assertAssertionDataSet('modifyOnlyHotelChild');
     $responseSections = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseSections('Default', 'Extbase:list()');
     $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'));
 }