Skip to content

Commit

Permalink
Remove config sections for Nette 2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
fprochazka committed Apr 21, 2016
1 parent b75aee3 commit 4e569b8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 25 deletions.
2 changes: 1 addition & 1 deletion tests/KdybyTests/Translation/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ protected function createContainer($configName = NULL)
$config->addParameters(['appDir' => __DIR__]);
Kdyby\Translation\DI\TranslationExtension::register($config);
Kdyby\Monolog\DI\MonologExtension::register($config);
$config->addConfig(__DIR__ . '/../nette-reset.neon', !isset($config->defaultExtensions['nette']) ? 'v23' : 'v22');
$config->addConfig(__DIR__ . '/../nette-reset.neon');

if ($configName) {
$config->addConfig(__DIR__ . '/config/' . $configName . '.neon');
Expand Down
37 changes: 13 additions & 24 deletions tests/KdybyTests/nette-reset.neon
Original file line number Diff line number Diff line change
@@ -1,30 +1,19 @@
common:
php:
date.timezone: Europe/Prague
php:
date.timezone: Europe/Prague


services:
cacheStorage:
class: Nette\Caching\Storages\MemoryStorage
services:
cacheStorage:
class: Nette\Caching\Storages\MemoryStorage


translation:
whitelist: [cs, sk, en]
resolvers:
session: on
translation:
whitelist: [cs, sk, en]
resolvers:
session: on

http:
frames: null

v22 < common:
nette:
security:
frames: null

session:
autoStart: false

v23 < common:
http:
frames: null

session:
autoStart: false
session:
autoStart: false

0 comments on commit 4e569b8

Please sign in to comment.