Преглед изворни кода

make run blast job silent.

Lacey Sanderson пре 6 година
родитељ
комит
959f87a9fc
1 измењених фајлова са 4 додато и 4 уклоњено
  1. 4 4
      tests/api/BlastJobTest.php

+ 4 - 4
tests/BlastJobTest.php → tests/api/BlastJobTest.php

@@ -46,14 +46,14 @@ class BlastJobTest extends TripalTestCase {
 
     // Supress output and tripal errors.
     // NOTE: silent() didn't work for some reason.
-    // putenv("TRIPAL_SUPPRESS_ERRORS=TRUE");
-    // ob_start();
+    putenv("TRIPAL_SUPPRESS_ERRORS=TRUE");
+    ob_start();
 
     run_BLAST_tripal_job($program, $query, $database, $output_filestub, $options);
 
     // Clean the buffer and unset tripal errors suppression. 
-    // ob_end_clean();
-    // putenv("TRIPAL_SUPPRESS_ERRORS");
+    ob_end_clean();
+    putenv("TRIPAL_SUPPRESS_ERRORS");
 
     // Loop through each expected output file...
     $files_to_check = array();