|
|
@@ -26,6 +26,7 @@ like(exception {TestRail::API->new('trash','bogus','bogus');}, qr/invalid uri/i,
|
|
|
my $bogoError = exception { capture { TestRail::API->new('http://hokum.bogus','lies','moreLies',undef,0); } };
|
|
|
SKIP: {
|
|
|
skip("Some CPANTesters like to randomly redirect all DNS misses to some other host, apparently", 1) if ($bogoError =~ m/404|302/);
|
|
|
+ skip("Occasionally upon first run of tests, LWP mocking will just not work.",1) if ($bogoError =~ m/Unknown error occurred/i);
|
|
|
like($bogoError, qr/Could not communicate with TestRail Server/i,"Bogus Testrail URI rejected");
|
|
|
}
|
|
|
|