File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 2626 "latte/latte" : " Allows using Latte in templates"
2727 },
2828 "require-dev" : {
29- "nette/tester" : " ^2.5" ,
29+ "nette/tester" : " ^2.5.2 " ,
3030 "nette/di" : " ^3.2" ,
3131 "nette/forms" : " ^3.2" ,
3232 "nette/robot-loader" : " ^4.0" ,
Original file line number Diff line number Diff line change 1313
1414// configure environment
1515Tester \Environment::setup ();
16+ Tester \Environment::setupFunctions ();
1617date_default_timezone_set ('Europe/Prague ' );
1718Mockery::setLoader (new Mockery \Loader \RequireLoader (getTempDir ()));
1819
@@ -44,11 +45,9 @@ function getTempDir(): string
4445}
4546
4647
47- function test (string $ title , Closure $ function ): void
48- {
49- $ function ();
48+ tearDown (function () {
5049 Mockery::close ();
51- }
50+ });
5251
5352
5453class Notes
You can’t perform that action at this time.
0 commit comments