diff options
author | VirtualTam <virtualtam@flibidi.net> | 2018-12-04 23:17:23 +0100 |
---|---|---|
committer | VirtualTam <virtualtam@flibidi.net> | 2019-01-12 23:11:19 +0100 |
commit | 9585441734924cb8ece3924afa5fefb6aa2e2604 (patch) | |
tree | 9e62a09ab770101172054136d0e6d489601bc862 /tests/plugins/PluginPubsubhubbubTest.php | |
parent | e1850388348d4bfdf463a5aa341bc470da79cf32 (diff) | |
download | Shaarli-9585441734924cb8ece3924afa5fefb6aa2e2604.tar.gz Shaarli-9585441734924cb8ece3924afa5fefb6aa2e2604.tar.zst Shaarli-9585441734924cb8ece3924afa5fefb6aa2e2604.zip |
namespacing: add plugin tests to \Shaarli\Plugin\[...]
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
Diffstat (limited to 'tests/plugins/PluginPubsubhubbubTest.php')
-rw-r--r-- | tests/plugins/PluginPubsubhubbubTest.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/plugins/PluginPubsubhubbubTest.php b/tests/plugins/PluginPubsubhubbubTest.php index 4680513e..a7bd8fc9 100644 --- a/tests/plugins/PluginPubsubhubbubTest.php +++ b/tests/plugins/PluginPubsubhubbubTest.php | |||
@@ -1,16 +1,17 @@ | |||
1 | <?php | 1 | <?php |
2 | namespace Shaarli\Plugin\Pubsubhubbub; | ||
3 | |||
2 | use Shaarli\Config\ConfigManager; | 4 | use Shaarli\Config\ConfigManager; |
3 | use Shaarli\Plugin\PluginManager; | 5 | use Shaarli\Plugin\PluginManager; |
4 | use Shaarli\Router; | 6 | use Shaarli\Router; |
5 | 7 | ||
6 | require_once 'plugins/pubsubhubbub/pubsubhubbub.php'; | 8 | require_once 'plugins/pubsubhubbub/pubsubhubbub.php'; |
7 | require_once 'application/Router.php'; | ||
8 | 9 | ||
9 | /** | 10 | /** |
10 | * Class PluginPubsubhubbubTest | 11 | * Class PluginPubsubhubbubTest |
11 | * Unit test for the pubsubhubbub plugin | 12 | * Unit test for the pubsubhubbub plugin |
12 | */ | 13 | */ |
13 | class PluginPubsubhubbubTest extends PHPUnit_Framework_TestCase | 14 | class PluginPubsubhubbubTest extends \PHPUnit\Framework\TestCase |
14 | { | 15 | { |
15 | /** | 16 | /** |
16 | * @var string Config file path (without extension). | 17 | * @var string Config file path (without extension). |