[test-only] apiTest. banned password list (#7339)

* apiTest. banned password list

* fix after review
This commit is contained in:
Viktor Scharf
2023-09-25 11:50:34 +02:00
committed by GitHub
parent 0dcc38a998
commit be9ac740c9
3 changed files with 73 additions and 8 deletions
@@ -25,6 +25,7 @@ use Behat\Gherkin\Node\TableNode;
use GuzzleHttp\Exception\GuzzleException;
use TestHelpers\OcisConfigHelper;
use PHPUnit\Framework\Assert;
use TestHelpers\UploadHelper;
/**
* steps needed to re-configure oCIS server
@@ -75,6 +76,21 @@ class OcisConfigContext implements Context {
);
}
/**
* @Given the config :configVariable has been set to path :path
*
* @param string $configVariable
* @param string $path
*
* @return void
* @throws GuzzleException
*/
public function theConfigHasBeenSetPathTo(string $configVariable, string $path): void {
$path = UploadHelper::getUploadFilesDir($path);
$this->theConfigHasBeenSetTo($configVariable, $path);
}
/**
* @Given the following configs have been set:
*