Merge pull request #6766 from nupplaphil/task/test_fix_namespace

Fix namespaces for Tests
This commit is contained in:
Tobias Diekershoff 2019-02-27 13:09:20 +01:00 committed by GitHub
commit 2354184360
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 13 additions and 13 deletions

View file

@ -3,7 +3,7 @@
* BaseObjectTest class.
*/
namespace Friendica\Test;
namespace Friendica\Test\src;
use Friendica\BaseObject;
use Friendica\Test\Util\AppMockTrait;

View file

@ -1,6 +1,6 @@
<?php
namespace Friendica\Test\Core\Config\Cache;
namespace Friendica\Test\src\Core\Config\Cache;
use Friendica\Core\Config\Cache\ConfigCache;
use Friendica\Core\Config\Cache\ConfigCacheLoader;

View file

@ -1,6 +1,6 @@
<?php
namespace Friendica\Test\Core\Config\Cache;
namespace Friendica\Test\src\Core\Config\Cache;
use Friendica\Core\Config\Cache\ConfigCache;
use Friendica\Test\MockedTest;

View file

@ -1,6 +1,6 @@
<?php
namespace Friendica\Test\Core\Config;
namespace Friendica\Test\src\Core\Config;
use Friendica\Core\Config\Adapter\IConfigAdapter;
use Friendica\Core\Config\Cache\ConfigCache;

View file

@ -1,6 +1,6 @@
<?php
namespace Friendica\Test\Core\Config;
namespace Friendica\Test\src\Core\Config;
use Friendica\Core\Config\Adapter\IPConfigAdapter;
use Friendica\Core\Config\Cache\ConfigCache;

View file

@ -1,5 +1,5 @@
<?php
namespace Friendica\Test\Database;
namespace Friendica\Test\src\Database;
use Friendica\App;
use Friendica\Core\Config;

View file

@ -1,6 +1,6 @@
<?php
namespace Friendica\Test\Database;
namespace Friendica\Test\src\Database;
use Friendica\App;
use Friendica\Core\Config\Cache;

View file

@ -1,6 +1,6 @@
<?php
namespace Friendica\Test\Model;
namespace Friendica\Test\src\Model;
use Friendica\Model\User;
use Friendica\Test\MockedTest;

View file

@ -3,7 +3,7 @@
* @file tests/src/Util/Arrays.php
* @author Roland Haeder<https://f.haeder.net/profile/roland>
*/
namespace Friendica\Test\Util;
namespace Friendica\Test\src\Util;
use Friendica\Util\Arrays;
use PHPUnit\Framework\TestCase;

View file

@ -1,6 +1,6 @@
<?php
namespace src\Util\Logger;
namespace Friendica\Test\src\Util\Logger;
use Friendica\Test\MockedTest;
use Friendica\Util\Logger\WorkerLogger;

View file

@ -1,6 +1,6 @@
<?php
namespace src\Util;
namespace Friendica\Test\src\Util;
use Friendica\Test\MockedTest;
use Friendica\Util\Profiler;

View file

@ -2,7 +2,7 @@
/**
* @file tests/src/Util/StringsTest.php
*/
namespace Friendica\Test\Util;
namespace Friendica\Test\src\Util;
use Friendica\Util\Strings;
use PHPUnit\Framework\TestCase;

View file

@ -2,7 +2,7 @@
/**
* @file tests/src/Util/XmlTest.php
*/
namespace Friendica\Test\Util;
namespace Friendica\Test\src\Util;
use Friendica\Util\XML;
use PHPUnit\Framework\TestCase;