[TESTS] Fix Circle SelfTags Setting test

This commit is contained in:
2022-03-07 16:17:44 +00:00
parent ff06a2656a
commit cc4f967186
5 changed files with 41 additions and 30 deletions

View File

@@ -97,7 +97,7 @@ class Circle extends Component
public function onPopulateSettingsTabs(Request $request, string $section, array &$tabs): bool
{
if ($section === 'profile' && $request->get('_route') === 'settings') {
if ($section === 'profile' && \in_array($request->get('_route'), ['person_actor_settings', 'group_actor_settings'])) {
$tabs[] = [
'title' => 'Self tags',
'desc' => 'Add or remove tags on yourself',