Skip to content

Commit

Permalink
Reformat type as profile--common in schema test.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgaehring committed Jul 28, 2023
1 parent a1ace9e commit 7e2bc25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/profile-support.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => {
Expand Down

0 comments on commit 7e2bc25

Please sign in to comment.