Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit ac15073

Browse files
committed
Merge branch 'mockhttpbackend-responseType-fix' of https://github.com/prateek14/angular.js into mockhttpbackend-responseType-fix
2 parents fd4e7b7 + c31fcc6 commit ac15073

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ngMock/angular-mocks.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1193,7 +1193,7 @@ function createHttpBackendMock($rootScope, $timeout, $delegate, $browser) {
11931193
// if $browser specified, we do auto flush all requests
11941194
($browser ? $browser.defer : responsesPush)(wrapResponse(definition));
11951195
} else if (definition.passThrough) {
1196-
$delegate(method, url, data, callback, headers, timeout, withCredentials);
1196+
$delegate(method, url, data, callback, headers, timeout, withCredentials, responseType);
11971197
} else throw new Error('No response defined !');
11981198
return;
11991199
}

0 commit comments

Comments
 (0)