Allow DNS resolver to become quiet about its operations
[core.git] / tests / bootstrap.php
index 35eb2b2ae4e42ace9d320dd512f3f260a2332c43..3d2f1aeeaa92db8df9b1f9cfb24fc48774ef7125 100644 (file)
@@ -32,5 +32,11 @@ require dirname(__DIR__) . '/index.php';
 // Remove it to prevent leak to PHPUnit
 unset($_SERVER['argv'][1]);
 
+// For these unit tests, xdebug must be quieted a bit
+if (extension_loaded('xdebug')) {
+       // Quiet it a bit as this interfers with the nice testing output
+       ini_set('xdebug.show_exception_trace', FALSE);
+} // END - if
+
 // Autoload more stuff
 require dirname(__DIR__) . '/vendor/autoload.php';