Skip to content

Commit f84b8bc

Browse files
committed
Improve Token test suite
1 parent cb8c78e commit f84b8bc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/TokenTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ public function it_will_fail_on_invalid_token_string(string $httpValue): void
2929
public function invalidTokenString(): array
3030
{
3131
return [
32-
['a a'],
33-
["a\u0001a"],
34-
['3a'],
35-
['a"a'],
36-
['a,a'],
32+
'token contains spaces inside' => ['a a'],
33+
'token contains non-ASCII characters' => ["a\u0001a"],
34+
'token starts with invalid characters' => ['3a'],
35+
'token contains double quote' => ['a"a'],
36+
'token contains comma' => ['a,a'],
3737
];
3838
}
3939

0 commit comments

Comments
 (0)