Permalink
Browse files

Merge branch '6.13' into 7.2

  • Loading branch information...
alongosz committed Sep 11, 2018
2 parents 4d531c8 + 87c44b1 commit afe64eb24d84b74b9d4357b0223a759e49615505
@@ -126,7 +126,7 @@ public function testCopySubtree($locationHref)
['Destination' => '/api/ezp/v2/content/locations/1/43']
);
$response = $this->sendHttpRequest($request);
$this->addCreatedElement($response->getHeader('Location'));
$this->addCreatedElement($response->getHeaderLine('Location'));
self::assertHttpResponseCodeEquals($response, 201);
self::assertHttpResponseHasHeader($response, 'Location');
@@ -895,8 +895,14 @@ private function assertAliasNotExists(URLAliasService $urlAliasService, $urlPath
/**
* Get Test Double for TrashItem for exception testing and similar.
*
* @param int $trashId
* @param int $contentId
* @param int $parentLocationId
*
* @return \eZ\Publish\API\Repository\Values\Content\TrashItem
*/
private function getTrashItemDouble(int $trashId, int $contentId = 44, int $parentLocationId = 2): TrashItem
private function getTrashItemDouble(int $trashId, int $contentId = 44, int $parentLocationId = 2): APITrashItem
{
return new TrashItem([
'id' => $trashId,

0 comments on commit afe64eb

Please sign in to comment.