We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dee3d24 commit 7cf7019Copy full SHA for 7cf7019
tests/Security/Identity.phpt
@@ -13,7 +13,7 @@ use Tester\Assert;
13
require __DIR__ . '/../bootstrap.php';
14
15
16
-test(function () {
+test('', function () {
17
$id = new Identity(12, 'admin', ['name' => 'John']);
18
19
Assert::same(12, $id->getId());
@@ -26,7 +26,7 @@ test(function () {
26
});
27
28
29
30
$id = new Identity('12');
31
32
tests/bootstrap.php
@@ -15,7 +15,7 @@
date_default_timezone_set('Europe/Prague');
-function test(\Closure $function): void
+function test(string $title, Closure $function): void
{
20
$function();
21
}
0 commit comments