projectdiscovery / notify

Notify is a Go-based assistance package that enables you to stream the output of several tools (or read from a file) and publish it to a variety of supported platforms.
https://projectdiscovery.io
MIT License
1.31k stars 134 forks source link

issue with integration test #407

Closed ehsandeep closed 1 week ago

ehsandeep commented 3 months ago
Run chmod +x gotify.sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
[10](https://github.com/projectdiscovery/notify/actions/runs/10258573354/job/28381688540?pr=402#step:7:11)0   265  100   175  100    90   2312   1189 --:--:-- --:--:-- --:--:--  3533
Gotify Application created successfully. Token: AiE-zHy9UI8Cg2C
Running test cases for "discord"
[✘] Test "discord" failed: incorrect number of results 
             __  _ ___    
  ___  ___  / /_(_) _/_ __
 / _ \/ _ \/ __/ / _/ // /
/_//_/\___/\__/_/_/ \_, /
                   /___/  
        projectdiscovery.io
[INF] Current notify version 1.0.6 (latest)
hello from notify integration test :)
[ERR] incorrect discord configuration for id: disocord-integration-test 
Running test cases for "slack"
[✘] Test "slack" failed: incorrect number of results 
             __  _ ___    
  ___  ___  / /_(_) _/_ __
 / _ \/ _ \/ __/ / _/ // /
/_//_/\___/\__/_/_/ \_, /
                   /___/  
        projectdiscovery.io
[INF] Current notify version 1.0.6 (latest)
hello from notify integration test :)
[ERR] failed to send slack notification for id: slack-integration-test : invalid slack token format
Running test cases for "custom"
[✘] Test "custom" failed: incorrect number of results 
             __  _ ___    
  ___  ___  / /_(_) _/_ __
 / _ \/ _ \/ __/ / _/ // /
/_//_/\___/\__/_/_/ \_, /
                   /___/  
        projectdiscovery.io
[INF] Current notify version 1.0.6 (latest)
hello from notify integration test :)
[ERR] failed to send custom notification for id: custom-integration-test: hello from notify integration test :): Post "": unsupported protocol scheme ""
Running test cases for "gotify"
             __  _ ___    
  ___  ___  / /_(_) _/_ __
 / _ \/ _ \/ __/ / _/ // /
/_//_/\___/\__/_/_/ \_, /
                   /___/  
        projectdiscovery.io
[INF] Current notify version 1.0.6 (latest)
hello from notify integration test :)
[VER] gotify notification sent for id: gotify
[✓] Test "gotify" passed!
Error: Process completed with exit code 1.

See https://github.com/projectdiscovery/notify/pulls for reference.