mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 03:25:15 +02:00
Instantiate the App in test bootstrap
- Remove wrong App instantiation in Lock test
This commit is contained in:
parent
3433c22116
commit
1f1a3930b2
2 changed files with 3 additions and 1 deletions
|
@ -10,6 +10,8 @@ use PHPUnit\Framework\TestCase;
|
|||
require_once __DIR__.'/../boot.php';
|
||||
require_once __DIR__.'/../include/api.php';
|
||||
|
||||
new App(dirname(__DIR__));
|
||||
|
||||
// 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