Skip to content

Commit 8c17d4c

Browse files
committed
[Tests] Fixed strict types after ibexa/core#590 changes
1 parent cee75bc commit 8c17d4c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/lib/RichText/Converter/LinkTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ public function providerBadLocationLink(): array
275275
</para>
276276
</section>',
277277
106,
278-
new APIUnauthorizedException('Location', 106),
278+
new APIUnauthorizedException('content', 'read', ['Location' => 106]),
279279
'notice',
280280
'While generating links for richtext, unauthorized to load Location with ID 106',
281281
],
@@ -295,7 +295,7 @@ public function providerBadLocationLink(): array
295295
</ezembed>
296296
</section>',
297297
106,
298-
new APIUnauthorizedException('Location', 106),
298+
new APIUnauthorizedException('content', 'read', ['Location' => 106]),
299299
'notice',
300300
'While generating links for richtext, unauthorized to load Location with ID 106',
301301
],
@@ -490,7 +490,7 @@ public function providerBadContentLink(): array
490490
</para>
491491
</section>',
492492
205,
493-
new APIUnauthorizedException('Content', 205),
493+
new APIUnauthorizedException('content', 'read', ['Content' => 205]),
494494
'notice',
495495
'While generating links for richtext, unauthorized to load Content object with ID 205',
496496
],
@@ -510,7 +510,7 @@ public function providerBadContentLink(): array
510510
</ezembed>
511511
</section>',
512512
205,
513-
new APIUnauthorizedException('Content', 205),
513+
new APIUnauthorizedException('content', 'read', ['Content' => 205]),
514514
'notice',
515515
'While generating links for richtext, unauthorized to load Content object with ID 205',
516516
],

0 commit comments

Comments
 (0)