Thanks kcott but that still generates the rogue output to STDERR
I've tried this:
Both tests pass but I still get the output to STDERR when the process method is called.my $got_warn = 0; eval { $webhook_fail->process(); } or do { $got_warn = 1; }; ok( $got_warn, "Signature warning generated"); ok( !$webhook_fail->success, "Signature error" );
I guess I'm just looking for a way to suppress the output...
In reply to Re^2: STDERR in Test Results
by Bod
in thread STDERR in Test Results
by Bod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |