fix: [AA-1018] api cleanup

couple of minor fixes from reviews
This commit is contained in:
Chris Deery
2022-01-31 09:43:25 -05:00
parent 3b33aacb3d
commit 64b0c03d30
2 changed files with 1 additions and 9 deletions

View File

@@ -39,14 +39,6 @@ Factory.define('courseMetadata')
},
show_calculator: false,
license: 'all-rights-reserved',
course_access: {
has_access: true,
user_fragment: null,
developer_message: null,
user_message: null,
error_code: null,
additional_context_user_message: null,
},
notes: {
visible: true,
enabled: false,

View File

@@ -24,7 +24,7 @@ describe('Loaded Tab Page', () => {
});
it('shows Instructor Toolbar if original user is staff', async () => {
const courseMetadata = Factory.build('courseMetadata', { original_user_is_staff: true });
const courseMetadata = Factory.build('courseMetadata');
const courseHomeMetadata = Factory.build('courseHomeMetadata', { original_user_is_staff: true });
const testStore = await initializeTestStore(
{