From 7e2bc255ca64061ccbb8838a3bae228adf2f8e16 Mon Sep 17 00:00:00 2001 From: Jamie Gaehring Date: Fri, 28 Jul 2023 17:05:21 -0400 Subject: [PATCH] Reformat type as `profile--common` in schema test. --- test/profile-support.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/profile-support.js b/test/profile-support.js index 8b60c86..2d93d4e 100644 --- a/test/profile-support.js +++ b/test/profile-support.js @@ -32,8 +32,8 @@ farm.remote.authorize(username, password) .then((res) => { farm.schema.set(res); const commonSchemata = farm.schema.get('profile', 'common'); - console.log('common attributes:\n', Object.keys(commonSchemata.properties.attributes)); - const commonProfile = farm.profile.create({ type: 'common', name: 'Maggie\'s Farm' }); + console.log('common attributes:\n', Object.keys(commonSchemata.properties.attributes.properties)); + const commonProfile = farm.profile.create({ type: 'profile--common', name: 'Maggie\'s Farm' }); console.log('commonProfile:\n', commonProfile); }) .then(() => {