test should not change the scope of a flag

Created on 18 April 2017, over 7 years ago
Updated 19 October 2024, about 2 months ago
    // Switch to a global flag, the accounting rules.
    $this->flag->setGlobal(TRUE);

We don't support changing the scope of a flag, so the test should not do this either.

This probably makes the test meaningless at the moment, as the test first flags a node by two different users, then changes the flag to global. A global flag would never have the same node flagged by two users!

🐛 Bug report
Status

Active

Version

4.0

Component

Flag core

Created by

🇬🇧United Kingdom joachim

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024