mirror of
https://github.com/nextcloud/server.git
synced 2026-06-13 18:50:47 -04:00
tests: Add testStrictAction mock
Signed-off-by: Josh <josh.t.richards@gmail.com>
This commit is contained in:
parent
11164e5d90
commit
0d081ce096
1 changed files with 5 additions and 0 deletions
|
|
@ -35,4 +35,9 @@ class PasswordConfirmationMiddlewareController extends Controller {
|
|||
#[PasswordConfirmationRequired]
|
||||
public function testSSO() {
|
||||
}
|
||||
|
||||
#[PasswordConfirmationRequired(strict: true)]
|
||||
public function testStrictAction(): void {
|
||||
// intentionally empty; used by PasswordConfirmationMiddleware tests
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue