diff options
author | VirtualTam <virtualtam+github@flibidi.net> | 2017-03-04 20:28:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-04 20:28:38 +0100 |
commit | 236239be752a7bb24547237b5751ac4fcbc0e549 (patch) | |
tree | 6e1c0130ea30bf218b9a131f58f7224b6defde3f /tests/config/ConfigPluginTest.php | |
parent | cc30d749ab17be2bf0b623a16f8fa78ecfd5b57d (diff) | |
parent | 3c66e56435359dc678048193e8ee239d06f79b64 (diff) | |
download | Shaarli-236239be752a7bb24547237b5751ac4fcbc0e549.tar.gz Shaarli-236239be752a7bb24547237b5751ac4fcbc0e549.tar.zst Shaarli-236239be752a7bb24547237b5751ac4fcbc0e549.zip |
Merge pull request #788 from virtualtam/application/namespace/config
application: introduce the Shaarli\Config namespace
Diffstat (limited to 'tests/config/ConfigPluginTest.php')
-rw-r--r-- | tests/config/ConfigPluginTest.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/config/ConfigPluginTest.php b/tests/config/ConfigPluginTest.php index 3b37cd79..22ab927b 100644 --- a/tests/config/ConfigPluginTest.php +++ b/tests/config/ConfigPluginTest.php | |||
@@ -1,4 +1,6 @@ | |||
1 | <?php | 1 | <?php |
2 | namespace Shaarli\Config; | ||
3 | |||
2 | /** | 4 | /** |
3 | * Config' tests | 5 | * Config' tests |
4 | */ | 6 | */ |
@@ -8,7 +10,7 @@ require_once 'application/config/ConfigPlugin.php'; | |||
8 | /** | 10 | /** |
9 | * Unitary tests for Shaarli config related functions | 11 | * Unitary tests for Shaarli config related functions |
10 | */ | 12 | */ |
11 | class ConfigPluginTest extends PHPUnit_Framework_TestCase | 13 | class ConfigPluginTest extends \PHPUnit_Framework_TestCase |
12 | { | 14 | { |
13 | /** | 15 | /** |
14 | * Test save_plugin_config with valid data. | 16 | * Test save_plugin_config with valid data. |
@@ -39,7 +41,7 @@ class ConfigPluginTest extends PHPUnit_Framework_TestCase | |||
39 | /** | 41 | /** |
40 | * Test save_plugin_config with invalid data. | 42 | * Test save_plugin_config with invalid data. |
41 | * | 43 | * |
42 | * @expectedException PluginConfigOrderException | 44 | * @expectedException Shaarli\Config\PluginConfigOrderException |
43 | */ | 45 | */ |
44 | public function testSavePluginConfigInvalid() | 46 | public function testSavePluginConfigInvalid() |
45 | { | 47 | { |