message: API: Add unauthorized student getCourseEdit test
diff: @@ -169,6 +169,14 @@ describe('Course', () => {
  body.accessKey.should.be.equal(testData.accessKey);
  });
  + it('should not get edit info for course as student', async () => {
  + const {savedCourse, student} = await prepareTestCourse();
  + const res = await testUnauthorizedGetCourseEdit(savedCourse, student);
  + res.body.name.should.be.equal('AccessDeniedError');
  + res.body.should.have.property('message');
  + res.body.should.have.property('stack');
  + });
  +
  it('should not get course not a teacher of course', async () => {
  const teacher = await FixtureUtils.getRandomTeachers(2, 2);
  const testData = new Course({
  