message: Simplify file upload unit test
diff: @@ -116,11 +116,10 @@ describe('ComplaintComponent', () => {
  expect(component.confirmation).toBe('Customer support will get in touch with you soon! Your complaint reference is #42')
  })
  - xit('should begin uploading file if it has been added on saving', inject([ HttpTestingController], fakeAsync((httpMock: HttpTestingController) => {
  - // TODO - enable mocking http responses from /file-upload
  + it('should begin uploading file if it has been added on saving', fakeAsync(() => {
  component.uploader.queue[0] = new FileItem(component.uploader, new File([''], 'file.pdf', { 'type': 'application/pdf' }),{})
  - spyOn(component.uploader.queue[0],'upload').and.callFake(() => console.log('Test'))
  + spyOn(component.uploader.queue[0],'upload')
  component.save()
  expect(component.uploader.queue[0].upload).toHaveBeenCalled()
  - })))
  + }))
  })
  