Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[8.x] Clarifies parallel testing token type (#7401)
  • Loading branch information
nunomaduro committed Oct 28, 2021
1 parent 057285b commit 5c1c29b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing.md
Expand Up @@ -163,6 +163,6 @@ Using the `ParallelTesting` facade, you may specify code to be executed on the `
<a name="accessing-the-parallel-testing-token"></a>
#### Accessing The Parallel Testing Token

If you would like to access to current parallel process "token" from any other location in your application's test code, you may use the `token` method. This token is a unique, integer identifier for an individual test process and may be used to segment resources across parallel test processes. For example, Laravel automatically appends this token to the end of the test databases created by each parallel testing process:
If you would like to access to current parallel process "token" from any other location in your application's test code, you may use the `token` method. This token is a unique, string identifier for an individual test process and may be used to segment resources across parallel test processes. For example, Laravel automatically appends this token to the end of the test databases created by each parallel testing process:

$token = ParallelTesting::token();

0 comments on commit 5c1c29b

Please sign in to comment.