Completed
Push — EZP-30821 ( 252180 )
by
unknown
150:25 queued 129:39
created
eZ/Publish/Core/Repository/Tests/Service/Mock/UrlTest.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -423,6 +423,9 @@  discard block
 block discarded – undo
423 423
         $this->assertEquals(new URLUpdateStruct(), $this->createUrlService()->createUpdateStruct());
424 424
     }
425 425
 
426
+    /**
427
+     * @param URL $object
428
+     */
426 429
     protected function configureUrlViewPermission($object, $hasAccess = false)
427 430
     {
428 431
         $this->permissionResolver
@@ -436,6 +439,9 @@  discard block
 block discarded – undo
436 439
             ->will($this->returnValue($hasAccess));
437 440
     }
438 441
 
442
+    /**
443
+     * @param URL $object
444
+     */
439 445
     protected function configureUrlUpdatePermission($object, $hasAccess = false)
440 446
     {
441 447
         $this->permissionResolver
@@ -470,6 +476,10 @@  discard block
 block discarded – undo
470 476
             ->getMock();
471 477
     }
472 478
 
479
+    /**
480
+     * @param integer $id
481
+     * @param string $url
482
+     */
473 483
     private function getApiUrl($id = null, $url = null)
474 484
     {
475 485
         return new URL(['id' => $id, 'url' => $url]);
Please login to merge, or discard this patch.