owncloud / brute_force_protection

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

Undefined steps causing tests fail #176

Closed SagarGi closed 2 years ago

SagarGi commented 2 years ago

drone build : https://drone.owncloud.com/owncloud/brute_force_protection/1930/14/11

console

--- FeatureContext has missing steps. Define them with these snippets:

    /**
     * @Then the public should be able to download file :arg1 from inside the last public shared folder using the new public WebDAV API with password :arg2
     */
    public function thePublicShouldBeAbleToDownloadFileFromInsideTheLastPublicSharedFolderUsingTheNewPublicWebdavApiWithPassword($arg1, $arg2)
    {
        throw new PendingException();
    }

    /**
     * @Then the public download of file :arg1 from inside the last public shared folder using the new public WebDAV API with password :arg2 should fail with HTTP status code :arg3
     */
    public function thePublicDownloadOfFileFromInsideTheLastPublicSharedFolderUsingTheNewPublicWebdavApiWithPasswordShouldFailWithHttpStatusCode($arg1, $arg2, $arg3)
    {
        throw new PendingException();
    }

    /**
     * @Then the public should be able to upload file :arg1 into the last public shared folder using the new public WebDAV API with password :arg2
     */
    public function thePublicShouldBeAbleToUploadFileIntoTheLastPublicSharedFolderUsingTheNewPublicWebdavApiWithPassword($arg1, $arg2)
    {
        throw new PendingException();
    }

    /**
     * @Then the public upload of file :arg1 into the last public shared folder using the new public WebDAV API with password :arg2 should fail with HTTP status code :arg3
     */
    public function thePublicUploadOfFileIntoTheLastPublicSharedFolderUsingTheNewPublicWebdavApiWithPasswordShouldFailWithHttpStatusCode($arg1, $arg2, $arg3)
    {
        throw new PendingException();
    }

    /**
     * @Then the public should be able to create folder :arg1 in the last public shared folder using the new public WebDAV API with password :arg2
     */
    public function thePublicShouldBeAbleToCreateFolderInTheLastPublicSharedFolderUsingTheNewPublicWebdavApiWithPassword($arg1, $arg2)
    {
        throw new PendingException();
    }

    /**
     * @Then the public creation of folder :arg1 in the last public shared folder using the new public WebDAV API with password :arg2 should fail with HTTP status code :arg3
     */
    public function thePublicCreationOfFolderInTheLastPublicSharedFolderUsingTheNewPublicWebdavApiWithPasswordShouldFailWithHttpStatusCode($arg1, $arg2, $arg3)
    {
        throw new PendingException();
    }

These steps are missing or undefined. Needs an investigation. Since all the tests are related to the last public link shared, this might be related to this PR https://github.com/owncloud/core/pull/40114

phil-davis commented 2 years ago

Words in steps in feature files need to change from the last public shared to the last public link shared