owncloud / brute_force_protection

Brute-force protection app for ownCloud
GNU General Public License v2.0
6 stars 5 forks source link

[tests-only] Add tests for upload and create folder in a public link #147

Closed phil-davis closed 3 years ago

phil-davis commented 3 years ago

Related issue https://github.com/owncloud/brute_force_protection/issues/146

These new and changed scenarios use core test steps added in PR https://github.com/owncloud/core/pull/38204

1) adjust the existing scenario for downloading a file in a public link folder. It was previously strange - it tried to download using a step for the "last publicly shared file" and was probably attempting to fetch the actual public link folder. Now it clearly downloads a file that is in the public link foldder.

2) Add scenarios to upload a file into a public link folder, and create a folder in a public link folder. They check that brute force protection locks those things out after 3 attempts with the wrong password.

sonarcloud[bot] commented 3 years ago

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information