File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
src/bundle/Resources/public/js/CKEditor/link/ui
tests/lib/RichText/Converter Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -485,7 +485,7 @@ class IbexaLinkFormView extends View {
485485 }
486486
487487 fetchSiteaccesses ( locationId ) {
488- const request = new Request ( `/api/ibexa/v2/site-access/load-non-admin-for- location/${ locationId } ` , {
488+ const request = new Request ( `/api/ibexa/v2/site-access/by- location/${ locationId } ?resolver_type=non_admin ` , {
489489 method : 'GET' ,
490490 headers : {
491491 Accept : 'application/json' ,
Original file line number Diff line number Diff line change 2828class LinkTest extends TestCase
2929{
3030 /**
31- * @return \PHPUnit\Framework\MockObject\MockObject&\Ibexa\Core\Repository\ContentService
31+ * @return \PHPUnit\Framework\MockObject\MockObject&\Ibexa\Contracts\ Core\Repository\ContentService
3232 */
3333 protected function getMockContentService ()
3434 {
3535 return $ this ->createMock (ContentService::class);
3636 }
3737
3838 /**
39- * @return \PHPUnit\Framework\MockObject\MockObject&\Ibexa\Core\Repository\LocationService
39+ * @return \PHPUnit\Framework\MockObject\MockObject&\Ibexa\Contracts\ Core\Repository\LocationService
4040 */
4141 protected function getMockLocationService ()
4242 {
@@ -286,12 +286,12 @@ public function testConvertLocationLinkWithSiteAccess(): void
286286
287287 $ location = $ this ->createMock (APILocation::class);
288288
289- $ locationService ->expects ($ this -> once ())
289+ $ locationService ->expects (self :: once ())
290290 ->method ('loadLocation ' )
291- ->with ($ this -> equalTo (106 ))
291+ ->with (self :: equalTo (106 ))
292292 ->willReturn ($ location );
293293
294- $ router ->expects ($ this -> once ())
294+ $ router ->expects (self :: once ())
295295 ->method ('generate ' )
296296 ->with (UrlAliasRouter::URL_ALIAS_ROUTE_NAME , [
297297 'location ' => $ location ,
You can’t perform that action at this time.
0 commit comments