Esempio n. 1
0
 /**
  * @test
  * @see DataSet/Assertion/modifyContentRecord.csv
  */
 public function modifyContent()
 {
     parent::modifyContent();
     $this->assertAssertionDataSet('modifyContent');
     $responseSections = $this->getFrontendResponse(self::VALUE_PageId, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId)->getResponseSections();
     $this->assertThat($responseSections, $this->getRequestSectionHasRecordConstraint()->setTable(self::TABLE_Content)->setField('header')->setValues('Testing #1'));
 }
Esempio n. 2
0
 /**
  * @test
  * @see DataSet/Assertion/modifyContentRecord.csv
  */
 public function modifyContent()
 {
     parent::modifyContent();
     $this->actionService->publishRecord(self::TABLE_Content, self::VALUE_ContentIdSecond);
     $this->assertAssertionDataSet('modifyContent');
     $responseSections = $this->getFrontendResponse(self::VALUE_PageId, 0)->getResponseSections();
     $this->assertThat($responseSections, $this->getRequestSectionHasRecordConstraint()->setTable(self::TABLE_Content)->setField('header')->setValues('Testing #1'));
 }