@@ -268,6 +268,9 @@ discard block |
||
268 | 268 | $this->assertContainsEzRemoteInvalidLinkError($contentRemoteId, $errors); |
269 | 269 | } |
270 | 270 | |
271 | + /** |
|
272 | + * @param integer $locationId |
|
273 | + */ |
|
271 | 274 | private function assertContainsEzLocationInvalidLinkError($locationId, array $errors) |
272 | 275 | { |
273 | 276 | $format = 'Invalid link "ezlocation://%d": target location cannot be found'; |
@@ -275,6 +278,9 @@ discard block |
||
275 | 278 | $this->assertContains(sprintf($format, $locationId), $errors); |
276 | 279 | } |
277 | 280 | |
281 | + /** |
|
282 | + * @param integer $contentId |
|
283 | + */ |
|
278 | 284 | private function assertContainsEzContentInvalidLinkError($contentId, array $errors) |
279 | 285 | { |
280 | 286 | $format = 'Invalid link "ezcontent://%d": target content cannot be found'; |
@@ -282,6 +288,9 @@ discard block |
||
282 | 288 | $this->assertContains(sprintf($format, $contentId), $errors); |
283 | 289 | } |
284 | 290 | |
291 | + /** |
|
292 | + * @param string $contentId |
|
293 | + */ |
|
285 | 294 | private function assertContainsEzRemoteInvalidLinkError($contentId, array $errors) |
286 | 295 | { |
287 | 296 | $format = 'Invalid link "ezremote://%s": target content cannot be found'; |
@@ -303,6 +312,9 @@ discard block |
||
303 | 312 | ->getMock(); |
304 | 313 | } |
305 | 314 | |
315 | + /** |
|
316 | + * @param string $scheme |
|
317 | + */ |
|
306 | 318 | private function createInputDocument($scheme, $id) |
307 | 319 | { |
308 | 320 | $url = $scheme . '://' . $id; |