You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -134,9 +134,9 @@ Note: `phpunit` can misbehave when using `expectException` and `try`/`finally`,
134
134
135
135
### creating the conditions for a test
136
136
137
-
Selecting users for tests happens with the `get...User...` family of functions from `phpunit-bootstrap.php`.
138
-
Since this family of functions is growing large and their names long and complicated, it is better to start with a simpler state and create the desired conditions manually.
139
-
For example, rather than using `getUserWithOneKey`, use `getUserHasNoSSHKeys` and add one key for them.
137
+
There are many user conditions available which are selected using the `$nickname` argument to the `switchUser` function.
0 commit comments