Skip to content

Commit 5c541d0

Browse files
committed
used Tester 2.5
1 parent cacdbf5 commit 5c541d0

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"php": ">=8.0 <8.3"
1919
},
2020
"require-dev": {
21-
"nette/tester": "^2.4",
21+
"nette/tester": "^2.5",
2222
"tracy/tracy": "^2.9",
2323
"phpstan/phpstan": "^1.0",
2424
"jetbrains/phpstorm-attributes": "dev-master"

tests/bootstrap.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
// configure environment
1515
Tester\Environment::setup();
16-
date_default_timezone_set('Europe/Prague');
16+
Tester\Environment::setupFunctions();
1717

1818

1919
function getTempDir(): string
@@ -35,9 +35,3 @@ function getTempDir(): string
3535

3636
return $dir;
3737
}
38-
39-
40-
function test(string $title, Closure $function): void
41-
{
42-
$function();
43-
}

0 commit comments

Comments
 (0)