cc01b8 Fix the test button for webhook notifications

Authored and Committed by Pierre-Yves Chibon 5 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></pingou@pingoured.fr>
    
        
file modified
+1 -1