Пример #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());
	}
Пример #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());
 }
Пример #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());
 }