Removing debugging echo
Updating Tests
This commit is contained in:
parent
31148e25cf
commit
a2fb49a2b4
5 changed files with 13 additions and 18 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue