🔄 Rename all "twake" instances to "tdrive"

🔄 Rename all "twake" instances to "tdrive"
This commit is contained in:
Montassar Ghanmy
2023-04-10 14:12:00 +01:00
committed by GitHub
parent 88cba77421
commit d91a13e2cc
323 changed files with 1021 additions and 1023 deletions
@@ -71,7 +71,7 @@ export class TestDbService {
async createCompany(id?: uuid, name?: string): Promise<Company> {
if (!name) {
name = `TwakeAutotests-test-company-${this.rand()}`;
name = `TdriveAutotests-test-company-${this.rand()}`;
}
this.company = await gr.services.companies.createCompany(
getCompanyInstance({
@@ -86,7 +86,7 @@ export class TestDbService {
async createWorkspace(
workspacePk: WorkspacePrimaryKey,
name = `TwakeAutotests-test-workspace-${this.rand()}`,
name = `TdriveAutotests-test-workspace-${this.rand()}`,
): Promise<Workspace> {
if (!workspacePk.company_id) throw new Error("company_id is not defined for workspace");
@@ -137,7 +137,7 @@ export class TestDbService {
user.username_canonical = options.username || `test${random}`;
user.first_name = options.firstName || `test${random}_first_name`;
user.last_name = options.lastName || `test${random}_last_name`;
user.email_canonical = options.email || `test${random}@twake.app`;
user.email_canonical = options.email || `test${random}@tdrive.app`;
user.identity_provider_id = user.id;
user.cache = options.cache || user.cache || { companies: [] };