Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

updated test suite, disabled graph tests for now

  • Loading branch information...
commit 7cce097f4311b25c4bfe80f64ec3556bdb403655 1 parent f7477bf
@barbie authored
Showing with 20 additions and 20 deletions.
  1. +20 −20 t/56writes.t
  2. BIN  t/expected.zip
View
40 t/56writes.t
@@ -37,7 +37,7 @@ use Test::More;
use lib 't';
use CTWS_Testing;
-if(CTWS_Testing::has_environment()) { plan tests => 399; }
+if(CTWS_Testing::has_environment()) { plan tests => 388; }
else { plan skip_all => "Environment not configured"; }
ok( my $obj = CTWS_Testing::getObj(), "got object" );
@@ -278,25 +278,25 @@ SKIP: {
#);
#ok( CTWS_Testing::cleanDir($obj), 'directory cleaned' );
-SKIP: {
- skip "Can't see a network connection", 18 if(pingtest($CHECK_DOMAIN));
-
- CTWS_Testing::saveFiles($dir . '/make_graphs');
-
- my $status;
- $obj->directory($dir . '/make_graphs');
- eval { $status = $obj->make_graphs() };
-
- SKIP: {
- skip "Google Chart API returned an error", 10 if($@ =~ /- (request failed|Cannot access page) -/ || $status);
- check_dir_contents(
- "[make_graphs]",
- $obj->directory,
- File::Spec->catfile($EXPECTEDPATH,'56writes.make_graphs'),
- );
- }
- ok( CTWS_Testing::cleanDir($obj), 'directory cleaned' );
-};
+# commented due to issues calling with limited data
+#SKIP: {
+# skip "Can't see a network connection", 76 if(pingtest($CHECK_DOMAIN));
+# CTWS_Testing::saveFiles($dir . '/make_graphs');
+#
+# my $status;
+# $obj->directory($dir . '/make_graphs');
+# eval { $status = $obj->make_graphs() };
+#
+# SKIP: {
+# skip "Google Chart API returned an error", 10 if($@ =~ /- (request failed|Cannot access page) -/ || $status);
+# check_dir_contents(
+# "[make_graphs]",
+# $obj->directory,
+# File::Spec->catfile($EXPECTEDPATH,'56writes.make_graphs'),
+# );
+# }
+# ok( CTWS_Testing::cleanDir($obj), 'directory cleaned' );
+#};
#---------------------------------------
# Update Code
View
BIN  t/expected.zip
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.