Skip to content
Snippets Groups Projects
Commit c6ad55eb authored by OZGCloud's avatar OZGCloud
Browse files

Merge remote-tracking branch 'origin/master' into OZG-5665-xDomea-Bescheid-Dateien-Download

parents a016aa37 2878cc7b
No related branches found
No related tags found
No related merge requests found
......@@ -924,6 +924,22 @@ describe('BescheidService', () => {
singleCold(createEmptyStateResource()),
);
});
it('should emit empty upload in progress for upload bescheid document in progress', () => {
service.init();
expect(service.getUploadBescheidDocumentInProgress()).toBeObservable(
singleCold({ loading: false }),
);
});
it('should emit empty upload in progress for upload attachmentdocument in progress', () => {
service.init();
expect(service.getUploadAttachmentInProgress()).toBeObservable(
singleCold({ loading: false }),
);
});
});
describe('create bescheid document', () => {
......
......@@ -152,7 +152,9 @@ export class BescheidService {
);
this.bescheidDocumentFile$.next(createEmptyStateResource());
this.bescheidDocumentUri$.next(null);
this.uploadBescheidDocumentInProgress$.next({ loading: false });
this.uploadedAttachment$.next(createEmptyStateResource());
this.uploadAttachmentInProgress$.next({ loading: false });
}
public getBescheidDraft(): Observable<StateResource<BescheidResource>> {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment