]> git.immae.eu Git - github/shaarli/Shaarli.git/commit
Improve SessionManager constructor and tests 1016/head
authorVirtualTam <virtualtam@flibidi.net>
Wed, 8 Nov 2017 19:24:49 +0000 (20:24 +0100)
committerVirtualTam <virtualtam@flibidi.net>
Wed, 8 Nov 2017 19:26:03 +0000 (20:26 +0100)
commitdd883aaf0999e9dc783a1a19bfeeab181c949d55
tree8cd606b71d846c65cf1b8ad4b577c86c0171987e
parentb14d34d2c7b7a7360adcc823472a43f64b579e1c
Improve SessionManager constructor and tests

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>
application/SessionManager.php
tests/SessionManagerTest.php
tests/utils/FakeConfigManager.php [new file with mode: 0644]