Skip to content

Commit

Permalink
Composer: use nette/di 2.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
f3l1x committed Nov 22, 2016
1 parent 172b73d commit acd394b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
],
"require": {
"php": ">= 5.6",
"nette/di": "^2.4.0",
"nette/di": "^2.4.2",
"nette/reflection": "^2.4.0",
"nextras/orm": ">=2.0.0,<2.3.0"
},
Expand Down
12 changes: 6 additions & 6 deletions tests/cases/EventsTestCase.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ final class EventsTestCase extends TestCase
', 'neon'));

$callback($compiler);
}, microtime() . mt_rand(1, 1000));
}, md5(microtime() . mt_rand(1, 1000)));

return new $class;
}
Expand Down Expand Up @@ -103,11 +103,11 @@ final class EventsTestCase extends TestCase
]);

$compiler->loadConfig(FileMock::create('
services:
cache: Nette\Caching\Storages\DevNullStorage
- Minetro\Tests\Mocks\InvalidFoo\BadListener
', 'neon'));
services:
cache: Nette\Caching\Storages\DevNullStorage
- Minetro\Tests\Mocks\InvalidFoo\BadListener
', 'neon'));
});
},
ServiceCreationException::class,
Expand Down

0 comments on commit acd394b

Please sign in to comment.