1
1
Fork 0

Removing debugging echo

Updating Tests
This commit is contained in:
Philipp Holzer 2018-10-06 19:11:00 +02:00
commit a2fb49a2b4
No known key found for this signature in database
GPG key ID: 517BE60E2CE5C8A5
5 changed files with 13 additions and 18 deletions

View file

@ -3,20 +3,10 @@
* This file is loaded by PHPUnit before any test.
*/
use Friendica\App;
use PHPUnit\DbUnit\DataSet\YamlDataSet;
use PHPUnit\DbUnit\TestCaseTrait;
use PHPUnit\Framework\TestCase;
require_once __DIR__.'/../boot.php';
require_once __DIR__.'/../include/api.php';
new App(dirname(__DIR__));
\Friendica\Core\Config::set('system', 'url', 'http://localhost');
\Friendica\Core\Config::set('system', 'hostname', 'localhost');
\Friendica\Core\Config::set('system', 'worker_dont_fork', true);
// Backward compatibility
if (!class_exists(TestCase::class)) {
class_alias(PHPUnit_Framework_TestCase::class, TestCase::class);