cc01b85 Fix the test button for webhook notifications

Authored and Committed by pingou 2 years ago
    Fix the test button for webhook notifications
    
    Add tests as well to prevent this issue from happening again.
    
    Fixes https://pagure.io/pagure/issue/4444
    
    Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
    
        
file modified
+1 -1