<?php
+// Import needed stuff
+use Org\Mxchange\CoreFramework\Bootstrap\FrameworkBootstrap;
/*
- * Copyright (C) 2017 Roland Haeder<roland@mxchange.org>
+ * Copyright (C) 2017 - 2023 Core Developer Team
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// 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);
+}
+
// Autoload more stuff
require dirname(__DIR__) . '/vendor/autoload.php';
+
+// Quiet DNS resolver as this is not wanted here
+FrameworkBootstrap::getConfigurationInstance()->setConfigEntry('is_quiet_dns_resolver_enabled', TRUE);