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 cb8c78e commit f84b8bcCopy full SHA for f84b8bc
src/TokenTest.php
@@ -29,11 +29,11 @@ public function it_will_fail_on_invalid_token_string(string $httpValue): void
29
public function invalidTokenString(): array
30
{
31
return [
32
- ['a a'],
33
- ["a\u0001a"],
34
- ['3a'],
35
- ['a"a'],
36
- ['a,a'],
+ 'token contains spaces inside' => ['a a'],
+ 'token contains non-ASCII characters' => ["a\u0001a"],
+ 'token starts with invalid characters' => ['3a'],
+ 'token contains double quote' => ['a"a'],
+ 'token contains comma' => ['a,a'],
37
];
38
}
39
0 commit comments