diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-07-24 13:43:50 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-07-25 01:59:30 +0200 |
commit | d8673dabe37f72c4925d945ac1e225efa91440b9 (patch) | |
tree | e1c628edfafcb2595fb7174191e216af8e484de0 /lib/private/server.php | |
parent | 1f8ee61006a7b3dcc740cb16e5d826fa7c1646c6 (diff) | |
download | nextcloud-server-d8673dabe37f72c4925d945ac1e225efa91440b9.tar.gz nextcloud-server-d8673dabe37f72c4925d945ac1e225efa91440b9.zip |
add test for factories
use ref for factory test
use a factory for registerAlias
Ensure we construct SimpleContainer
Use single instance of DIContainer in routing tests
Diffstat (limited to 'lib/private/server.php')
-rw-r--r-- | lib/private/server.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/server.php b/lib/private/server.php index 53949b53df7..3503ff70be4 100644 --- a/lib/private/server.php +++ b/lib/private/server.php @@ -74,6 +74,7 @@ class Server extends SimpleContainer implements IServerContainer { * @param string $webRoot */ public function __construct($webRoot) { + parent::__construct(); $this->webRoot = $webRoot; $this->registerService('ContactsManager', function ($c) { |