diff options
author | VirtualTam <virtualtam+github@flibidi.net> | 2017-11-24 23:53:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-24 23:53:15 +0100 |
commit | d9514becc4d8b06e2a31c6975f3bbbaf6f1fed42 (patch) | |
tree | 301bed8a69d908c5b583a3c66cb36d1beac38271 /tests/utils | |
parent | 4e58d2edf79bb90b52e7235e4239b1e462bdd9aa (diff) | |
parent | dd883aaf0999e9dc783a1a19bfeeab181c949d55 (diff) | |
download | Shaarli-d9514becc4d8b06e2a31c6975f3bbbaf6f1fed42.tar.gz Shaarli-d9514becc4d8b06e2a31c6975f3bbbaf6f1fed42.tar.zst Shaarli-d9514becc4d8b06e2a31c6975f3bbbaf6f1fed42.zip |
Merge pull request #1016 from virtualtam/refactor/session
Improve SessionManager constructor and tests
Diffstat (limited to 'tests/utils')
-rw-r--r-- | tests/utils/FakeConfigManager.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/utils/FakeConfigManager.php b/tests/utils/FakeConfigManager.php new file mode 100644 index 00000000..f29760cb --- /dev/null +++ b/tests/utils/FakeConfigManager.php | |||
@@ -0,0 +1,12 @@ | |||
1 | <?php | ||
2 | |||
3 | /** | ||
4 | * Fake ConfigManager | ||
5 | */ | ||
6 | class FakeConfigManager | ||
7 | { | ||
8 | public static function get($key) | ||
9 | { | ||
10 | return $key; | ||
11 | } | ||
12 | } | ||