dd883aaf09
Relates to https://github.com/shaarli/Shaarli/pull/1005 Changed: - pass a copy of the ConfigManager instance instead of a reference - move FakeConfigManager to a dedicated file - update tests Signed-off-by: VirtualTam <virtualtam@flibidi.net>
12 lines
135 B
PHP
12 lines
135 B
PHP
<?php
|
|
|
|
/**
|
|
* Fake ConfigManager
|
|
*/
|
|
class FakeConfigManager
|
|
{
|
|
public static function get($key)
|
|
{
|
|
return $key;
|
|
}
|
|
}
|