mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 02:05:19 +02:00
Fix set_baseurl() notice messages in worker during tests
This commit is contained in:
parent
e98216b5bb
commit
66ac16e101
2 changed files with 7 additions and 0 deletions
|
@ -13,6 +13,8 @@ require_once __DIR__.'/../include/api.php';
|
|||
|
||||
new App(dirname(__DIR__));
|
||||
|
||||
\Friendica\Core\Config::set('system', 'url', 'http://localhost/');
|
||||
|
||||
// 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