Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add when step to create new regular user using api for the acceptance tests #36724

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tests/acceptance/features/bootstrap/Provisioning.php
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,7 @@ public function theseUsersHaveBeenCreatedWithoutSkeletonFiles(TableNode $table)

/**
* @Given /^these users have been created with ?(default attributes and|) skeleton files ?(but not initialized|):$/
* @When /^the administrator creates these users with ?(default attributes and|) skeleton files ?(but not initialized|):$/
* This function will allow us to send user creation requests in parallel.
* This will be faster in comparision to waiting for each request to complete before sending another request.
*
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/features/bootstrap/WebUIUsersContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ public function before(BeforeScenarioScope $scope) {
);
$results = [];
foreach ($appConfigs as $appConfig) {
if (isset($configs[$appConfig['configkey']])) {
if (\is_string($appConfig['configkey']) && isset($configs[$appConfig['configkey']])) {
$results[] = $appConfig;
}
}
Expand Down