mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
Migrate to new animations api (#12078)
This commit is contained in:
@@ -292,7 +292,7 @@ describe('AdfHttpClient', () => {
|
||||
req.flush(null, { status: 200, statusText: 'Ok' });
|
||||
});
|
||||
|
||||
it('should correctly decode types to string', () => {
|
||||
it('should correctly decode types to string', (done) => {
|
||||
const options: RequestOptions = {
|
||||
path: '',
|
||||
httpMethod: 'POST',
|
||||
@@ -301,7 +301,13 @@ describe('AdfHttpClient', () => {
|
||||
}
|
||||
};
|
||||
|
||||
angularHttpClient.request('http://example.com', options, securityOptions, emitters).catch((error) => fail(error));
|
||||
angularHttpClient
|
||||
.request('http://example.com', options, securityOptions, emitters)
|
||||
.then((res) => {
|
||||
expect(res).toEqual('');
|
||||
done();
|
||||
})
|
||||
.catch((error) => done.fail(error));
|
||||
|
||||
const req = controller.expectOne('http://example.com?lastModifiedFrom=2022-08-17T00%3A00%3A00.000%2B02%3A00');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user