mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-12 12:33:07 +00:00
87242: Fix workspace/workflow confusion in spec names
This commit is contained in:
@@ -364,11 +364,11 @@ describe('SubmissionSectionFormComponent test suite', () => {
|
|||||||
expect((comp as any).inCurrentSubmissionScope('dc.title')).toBe(true);
|
expect((comp as any).inCurrentSubmissionScope('dc.title')).toBe(true);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should return true for fields scoped to workflow', () => {
|
it('should return true for fields scoped to workspace', () => {
|
||||||
expect((comp as any).inCurrentSubmissionScope('scoped.workspace')).toBe(true);
|
expect((comp as any).inCurrentSubmissionScope('scoped.workspace')).toBe(true);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should return false for fields scoped to workspace', () => {
|
it('should return false for fields scoped to workflow', () => {
|
||||||
expect((comp as any).inCurrentSubmissionScope('scoped.workflow')).toBe(false);
|
expect((comp as any).inCurrentSubmissionScope('scoped.workflow')).toBe(false);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user