FlagHookInvocationsTestCase tests the order in which flag and entity hooks and rules are invoked, and the parameters passed to them.

It tests flagging and unflagging.

We should also test the case where we re-flag an item, by doing $flag->flag('flag', ...) and passing in the $flagging entity.

This should test:

- hook_entity_update() is invoked
- the parameters are correct

CommentFileSizeAuthor
#1 2196097.flag_.re-flag-tests.patch3.96 KBjoachim

Comments

joachim’s picture

Status: Active » Fixed
StatusFileSize
new3.96 KB

Tests pass locally.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.