mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 02:45:16 +02:00
Removing debugging echo
Updating Tests
This commit is contained in:
parent
31148e25cf
commit
a2fb49a2b4
5 changed files with 13 additions and 18 deletions
|
@ -5,6 +5,8 @@
|
|||
|
||||
namespace Friendica\Test;
|
||||
|
||||
use Friendica\BaseObject;
|
||||
use Friendica\Core\Config;
|
||||
use Friendica\Database\DBA;
|
||||
use PHPUnit\DbUnit\DataSet\YamlDataSet;
|
||||
use PHPUnit\DbUnit\TestCaseTrait;
|
||||
|
@ -16,8 +18,15 @@ use PHPUnit_Extensions_Database_DB_IDatabaseConnection;
|
|||
*/
|
||||
abstract class DatabaseTest extends TestCase
|
||||
{
|
||||
public function setUp()
|
||||
{
|
||||
// Reusable App object
|
||||
$this->app = BaseObject::getApp();
|
||||
|
||||
use TestCaseTrait;
|
||||
Config::set('system', 'url', 'http://localhost');
|
||||
Config::set('system', 'hostname', 'localhost');
|
||||
Config::set('system', 'worker_dont_fork', true);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get database connection.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue