コード例 #1
0
ファイル: ActionTest.php プロジェクト: plan2net/TYPO3.CMS
 /**
  * @test
  * @see DataSet/Assertion/deletePageRecord.csv
  */
 public function deletePage()
 {
     parent::deletePage();
     $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
     $this->assertAssertionDataSet('deletePage');
     $response = $this->getFrontendResponse(self::VALUE_PageId, 0, 0, 0, FALSE);
     $this->assertContains('PageNotFoundException', $response->getError());
 }
コード例 #2
0
ファイル: ActionTest.php プロジェクト: Mr-Robota/TYPO3.CMS
 /**
  * @test
  * @see DataSet/Assertion/deletePageRecord.csv
  */
 public function deletePage()
 {
     parent::deletePage();
     $this->assertAssertionDataSet('deletePage');
     $response = $this->getFrontendResponse(self::VALUE_PageId, 0, self::VALUE_BackendUserId, self::VALUE_WorkspaceId, FALSE);
     $this->assertContains('RuntimeException', $response->getError());
 }
コード例 #3
0
ファイル: ActionTest.php プロジェクト: rickymathew/TYPO3.CMS
 /**
  * @test
  * @see DataSet/Assertion/deletePageRecord.csv
  */
 public function deletePage()
 {
     parent::deletePage();
     $this->actionService->publishRecord(self::TABLE_Page, self::VALUE_PageId);
     $this->assertAssertionDataSet('deletePage');
     $response = $this->getFrontendResponse(self::VALUE_PageId, 0, 0, 0, false);
     $this->assertContains('PageNotFoundException', $response->getError());
 }