From 581d29d7e1bb25b0ffbad87a32fa9bd6dfcb888c Mon Sep 17 00:00:00 2001 From: Willie Ruemmele Date: Thu, 19 Oct 2023 14:30:04 -0600 Subject: [PATCH] test: cft NUTs now MPD --- .../customField__c.fieldTranslation-meta.xml | 0 .../customObject__c-es.objectTranslation-meta.xml | 0 test/nuts/specialTypes/translation.nut.ts | 6 +++--- 3 files changed, 3 insertions(+), 3 deletions(-) rename test/nuts/specialTypes/customTranslationProject/{my-app => force-app}/main/default/objectTranslations/customObject__c-es/customField__c.fieldTranslation-meta.xml (100%) rename test/nuts/specialTypes/customTranslationProject/{force-app => my-app}/main/default/objectTranslations/customObject__c-es/customObject__c-es.objectTranslation-meta.xml (100%) diff --git a/test/nuts/specialTypes/customTranslationProject/my-app/main/default/objectTranslations/customObject__c-es/customField__c.fieldTranslation-meta.xml b/test/nuts/specialTypes/customTranslationProject/force-app/main/default/objectTranslations/customObject__c-es/customField__c.fieldTranslation-meta.xml similarity index 100% rename from test/nuts/specialTypes/customTranslationProject/my-app/main/default/objectTranslations/customObject__c-es/customField__c.fieldTranslation-meta.xml rename to test/nuts/specialTypes/customTranslationProject/force-app/main/default/objectTranslations/customObject__c-es/customField__c.fieldTranslation-meta.xml diff --git a/test/nuts/specialTypes/customTranslationProject/force-app/main/default/objectTranslations/customObject__c-es/customObject__c-es.objectTranslation-meta.xml b/test/nuts/specialTypes/customTranslationProject/my-app/main/default/objectTranslations/customObject__c-es/customObject__c-es.objectTranslation-meta.xml similarity index 100% rename from test/nuts/specialTypes/customTranslationProject/force-app/main/default/objectTranslations/customObject__c-es/customObject__c-es.objectTranslation-meta.xml rename to test/nuts/specialTypes/customTranslationProject/my-app/main/default/objectTranslations/customObject__c-es/customObject__c-es.objectTranslation-meta.xml diff --git a/test/nuts/specialTypes/translation.nut.ts b/test/nuts/specialTypes/translation.nut.ts index 86911659..e56167fd 100644 --- a/test/nuts/specialTypes/translation.nut.ts +++ b/test/nuts/specialTypes/translation.nut.ts @@ -31,7 +31,7 @@ describe('translations', () => { }, ], }); - projectPath = path.join(session.project.dir, 'my-app', 'main', 'default'); + projectPath = path.join(session.project.dir, 'force-app', 'main', 'default'); translationPath = path.join(projectPath, 'objectTranslations', 'customObject__c-es'); }); @@ -168,10 +168,10 @@ describe('translations', () => { }); it('can retrieve COT from directory', async () => { - // the .objectTranslation is in force-app + // the .objectTranslation is in my-app const objectTranslationPath = path.join( session.project.dir, - 'force-app', + 'my-app', 'main', 'default', 'objectTranslations',