Ejemplo n.º 1
0
 /**
  * @test
  * @see DataSet/Assertion/deleteParentContentRecord.csv
  */
 public function deleteParentContent()
 {
     parent::deleteParentContent();
     $this->assertAssertionDataSet('deleteParentContent');
     $responseSections = $this->getFrontendResponse(self::VALUE_PageId, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseSections();
     $this->assertThat($responseSections, $this->getRequestSectionDoesNotHaveRecordConstraint()->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #2'));
 }
Ejemplo n.º 2
0
 /**
  * @test
  * @see DataSet/Assertion/deleteParentContentRecord.csv
  */
 public function deleteParentContent()
 {
     parent::deleteParentContent();
     $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
     $this->assertAssertionDataSet('deleteParentContent');
     $responseSections = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseSections('Default', 'Extbase:list()');
     $this->assertThat($responseSections, $this->getRequestSectionDoesNotHaveRecordConstraint()->setTable(self::TABLE_Content)->setField('header')->setValues('Regular Element #2'));
 }