fix: [AA-1018] api cleanup
couple of minor fixes from reviews
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user