Add done() to async tests

This commit is contained in:
Nathan Buckingham
2023-02-07 13:59:57 -05:00
parent 369ffac39e
commit 9435f1c4a7
3 changed files with 21 additions and 11 deletions

View File

@@ -52,14 +52,14 @@ export class ServerAuthRequestService extends AuthRequestService {
.set('Cookie', `${DSPACE_XSRF_COOKIE}=${xsrfToken}`)),
map((headers: HttpHeaders) =>
// Create a new PostRequest using those headers and the given href
Object.assign(new PostRequest(
new PostRequest(
this.requestService.generateRequestId(),
href,
{},
{
headers: headers,
},
),{})
)
)
);
}