Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…the wrong definition of the function to populate domain config and technical users
  • Loading branch information
Huy TA QUOC committed Nov 12, 2020
1 parent 22fb5a8 commit deb8ede
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fixtures/populate/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module.exports = {
populateDomainConfigurationAndTechnicalUsers
};

function populateDomainConfigurationAndTechnicalUsers(host, [admin, domain]) {
function populateDomainConfigurationAndTechnicalUsers(host, admin, domain) {
_log('[INFO] POPULATE Domain configuration and technical user');

const technicalUsers = require('./data/technical-users');
Expand All @@ -42,7 +42,7 @@ function populateAll(host) {

return _populateAdmin()
.then(_populateDomain.bind(null, null))
.then(populateDomainConfigurationAndTechnicalUsers.bind(null, host))
.then(([admin, domain]) => populateDomainConfigurationAndTechnicalUsers(host, admin, domain))
.then(_joinDomain)
.then(_populateMembers);
}
Expand Down

0 comments on commit deb8ede

Please sign in to comment.