Move Cache to strategies
This commit is contained in:
parent
f1da323b07
commit
f2c02a79b9
12 changed files with 98 additions and 119 deletions
24
tests/phpunit-addons.xml
Normal file
24
tests/phpunit-addons.xml
Normal file
|
@ -0,0 +1,24 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<phpunit
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
bootstrap="bootstrap.php"
|
||||
verbose="true"
|
||||
timeoutForSmallTests="900"
|
||||
timeoutForMediumTests="900"
|
||||
timeoutForLargeTests="900"
|
||||
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
|
||||
<testsuite name="friendica-addons">
|
||||
<directory suffix=".php">../addon/*/tests/</directory>
|
||||
</testsuite>
|
||||
<!-- Filters for Code Coverage -->
|
||||
<coverage>
|
||||
<include>
|
||||
<directory suffix=".php">../addon/</directory>
|
||||
</include>
|
||||
<exclude>
|
||||
<directory suffix=".php">../addon/*/tests/</directory>
|
||||
<directory suffix=".php">../addon/*/view/</directory>
|
||||
<directory suffix=".php">../addon/*/vendor/</directory>
|
||||
</exclude>
|
||||
</coverage>
|
||||
</phpunit>
|
|
@ -21,6 +21,7 @@
|
|||
|
||||
namespace Friendica\Test\src\Core\Cache;
|
||||
|
||||
use Friendica\App\BaseURL;
|
||||
use Friendica\Core\Cache;
|
||||
use Friendica\Test\DatabaseTestTrait;
|
||||
use Friendica\Test\Util\CreateDatabaseTrait;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue