/** * @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()); }
/** * @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()); }
/** * @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()); }