'use strict';

const PostCompanyTest = require('./post_company_test');

// we derive this from PostCompanyTest, which tests the behavior when one-user-per-org is not active

class FirstCompanyOneUserPerOrgTest extends PostCompanyTest {

	constructor (options) {
		super(options);
		delete this.teamOptions.creatorIndex; // this suppresses creation of default test company
	}

	get description () {
		return 'when a user creates their first company, even under one-user-per-org, the full company info should be returned';
	}
}

module.exports = FirstCompanyOneUserPerOrgTest;
