From 30a6affb9f45f0a9a4d5256a22a2c7ab75df9052 Mon Sep 17 00:00:00 2001 From: Drylian <109999325+drylian@users.noreply.github.com> Date: Tue, 5 Dec 2023 23:07:55 -0300 Subject: [PATCH] test 3 --- .../Integration/Api/Remote/SftpAuthenticationControllerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Integration/Api/Remote/SftpAuthenticationControllerTest.php b/tests/Integration/Api/Remote/SftpAuthenticationControllerTest.php index 9e7136a80..5439c69db 100644 --- a/tests/Integration/Api/Remote/SftpAuthenticationControllerTest.php +++ b/tests/Integration/Api/Remote/SftpAuthenticationControllerTest.php @@ -119,7 +119,7 @@ public function testUserIsNotThrottledIfNoPublicKeyMatches() $this->postJson('/api/remote/sftp/auth', [ 'type' => 'public_key', 'username' => $this->getUsername(), - 'password' => PrivateKey::createKey('Ed25519')->getPublicKey()->toString('OpenSSH'), + 'password' => static PrivateKey::createKey('Ed25519')->getPublicKey()->toString('OpenSSH'), ]) ->assertForbidden(); }