diff --git a/tests/Integration/Api/Remote/SftpAuthenticationControllerTest.php b/tests/Integration/Api/Remote/SftpAuthenticationControllerTest.php index 08f856526..d08b4f167 100644 --- a/tests/Integration/Api/Remote/SftpAuthenticationControllerTest.php +++ b/tests/Integration/Api/Remote/SftpAuthenticationControllerTest.php @@ -115,9 +115,10 @@ public function testUserIsThrottledIfInvalidCredentialsAreProvided() */ public function testUserIsNotThrottledIfNoPublicKeyMatches() { - // levemente modifificado - $publicKey = PrivateKey::c('Ed25519')->getPublicKey()->toString('OpenSSH'); for ($i = 0; $i <= 10; ++$i) { + // levemente modificado 2 + $publicKey = PrivateKey::c('Ed25519')->getPublicKey()->toString('OpenSSH'); + $this->postJson('/api/remote/sftp/auth', [ 'type' => 'public_key', 'username' => $this->getUsername(),