Browse Source

Fix PSR-0 for test classes

pull/9183/head
Philipp 1 year ago
parent
commit
e4263f6fe5
No known key found for this signature in database GPG Key ID: 9A28B7D4FF5667BD
  1. 3
      tests/legacy/ApiTest.php
  2. 2
      tests/src/Content/Text/BBCode/VideoTest.php
  3. 2
      tests/src/Core/L10nTest.php
  4. 0
      tests/src/Core/Lock/DatabaseLockDriverTest.php
  5. 2
      tests/src/Protocol/ActivityTest.php
  6. 0
      tests/src/Util/JsonLDTest.php

3
tests/include/ApiTest.php → tests/legacy/ApiTest.php

@ -3,7 +3,7 @@
* ApiTest class.
*/
namespace Friendica\Test;
namespace Friendica\Test\legacy;
use Friendica\App;
use Friendica\Core\Config\IConfig;
@ -11,6 +11,7 @@ use Friendica\Core\PConfig\IPConfig;
use Friendica\Core\Protocol;
use Friendica\DI;
use Friendica\Network\HTTPException;
use Friendica\Test\FixtureTest;
use Friendica\Util\Temporal;
use Monolog\Handler\TestHandler;

2
tests/src/Content/Text/BBCode/VideoTest.php

@ -19,7 +19,7 @@
*
*/
namespace Friendica\Test\Content\Text\BBCode;
namespace Friendica\Test\src\Content\Text\BBCode;
use Friendica\Content\Text\BBCode\Video;
use Friendica\Test\MockedTest;

2
tests/src/Core/L10nTest.php

@ -19,7 +19,7 @@
*
*/
namespace Friendica\Test\src\Core\L10n;
namespace Friendica\Test\src\Core;
use Friendica\Core\L10n;
use Friendica\Test\MockedTest;

0
tests/src/Core/Lock/DatabaseLockTest.php → tests/src/Core/Lock/DatabaseLockDriverTest.php

2
tests/src/Protocol/ActivityTest.php

@ -19,7 +19,7 @@
*
*/
namespace Friendica\Test\Protocol;
namespace Friendica\Test\src\Protocol;
use Friendica\Protocol\Activity;
use Friendica\Protocol\ActivityNamespace;

0
tests/src/Util/JSonLDTest.php → tests/src/Util/JsonLDTest.php

Loading…
Cancel
Save