Skip to content

Commit 91c4a5b

Browse files
committed
fix test bug
1 parent 3c66164 commit 91c4a5b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/Fixture/TestRoute.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ public static function getTestRoutePath(int $flags = 0) : string
6565
public static function getTestRouteMethods(int $flags = 0) : array
6666
{
6767
return [
68-
strtoupper(uniqid()),
69-
strtoupper(uniqid()),
70-
strtoupper(uniqid()),
68+
strtoupper(uniqid('verb_')),
69+
strtoupper(uniqid('verb_')),
70+
strtoupper(uniqid('verb_')),
7171
];
7272
}
7373

@@ -103,9 +103,9 @@ public static function getTestRouteMiddlewares(int $flags = 0) : array
103103
public static function getTestRouteAttributes(int $flags = 0) : array
104104
{
105105
return [
106-
uniqid() => uniqid(),
107-
uniqid() => uniqid(),
108-
uniqid() => uniqid(),
106+
uniqid('attr_') => uniqid(),
107+
uniqid('attr_') => uniqid(),
108+
uniqid('attr_') => uniqid(),
109109
];
110110
}
111111
}

0 commit comments

Comments
 (0)