Ejemplo n.º 1
0
 /**
  * @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());
 }
Ejemplo n.º 2
0
 /**
  * @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());
 }
Ejemplo n.º 3
0
 /**
  * @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());
 }