diff --git a/tests/h/services/annotation_write_test.py b/tests/h/services/annotation_write_test.py index a5b1a413120..f0bea683d5d 100644 --- a/tests/h/services/annotation_write_test.py +++ b/tests/h/services/annotation_write_test.py @@ -196,6 +196,14 @@ def test_hide_does_not_modify_an_already_hidden_annotation(self, annotation, svc # It's the same one not a new one assert annotation.moderation == moderation + def test_unhide(self, annotation, svc): + moderation = AnnotationModeration() + annotation.moderation = moderation + + svc.unhide(annotation) + + assert not annotation.is_hidden + @pytest.fixture def create_data(self, factories): user = factories.User()