message: Fix broken UT
diff: @@ -61,7 +61,7 @@ export type UserFields = {
  * Helper method to lookup UserFields
  * @param username {string} The username
  */
  -async function _retrieveUserFields(logger: Logger, username: string): Promise<UserFields> {
  +async function _retrieveUserFields(this: { logger: Logger }, username: string): Promise<UserFields> {
  const connection: Connection = await Connection.create( await AuthInfo.create(username));
  @@ -69,7 +69,7 @@ async function _retrieveUserFields(logger: Logger, username: string): Promise<Us
  const requiredFieldsFromAdminQuery = `SELECT ${fromFields} FROM User WHERE Username='${username}'`;
  const result: QueryResult<string[]> = await connection.query<string[]>(requiredFieldsFromAdminQuery);
  - logger.debug('Successfully retrieved the admin user for this org.');
  + this.logger.debug('Successfully retrieved the admin user for this org.');
  if (result.totalSize === 1) {
  const results = _.mapKeys(result.records[0], (value, key: string) => _.lowerFirst(key));
  @@ -128,7 +128,7 @@ export class DefaultUserFields {
  public static async init(templateUser: string, newUserName?: string): Promise<DefaultUserFields> {
  const fields: DefaultUserFields = new DefaultUserFields(newUserName);
  const initLogger: Logger = await Logger.child('DefaultUserFields');
  - const userFields: UserFields = await _retrieveUserFields(initLogger, templateUser);
  + const userFields: UserFields = await _retrieveUserFields.call({ logger: initLogger }, templateUser);
  _.merge(fields, userFields);
  fields.profileId = await _retrieveProfileId('Standard User',
  await Connection.create(await AuthInfo.create(templateUser)));
  