mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
tests: solved _endOfLoginResponse with popup loginStyle supports ROOT_URL_PATH_PREFIX
This commit is contained in:
@@ -77,8 +77,8 @@ Tinytest.addAsync("oauth - _endOfLoginResponse with popup loginStyle supports un
|
||||
}
|
||||
);
|
||||
|
||||
Tinytest.add("oauth - _endOfLoginResponse with popup loginStyle supports ROOT_URL_PATH_PREFIX",
|
||||
test => {
|
||||
Tinytest.addAsync("oauth - _endOfLoginResponse with popup loginStyle supports ROOT_URL_PATH_PREFIX",
|
||||
async test => {
|
||||
const rootUrlPathPrefix = __meteor_runtime_config__.ROOT_URL_PATH_PREFIX;
|
||||
__meteor_runtime_config__.ROOT_URL_PATH_PREFIX = '/test-root-url-prefix';
|
||||
const res = {
|
||||
@@ -95,7 +95,7 @@ Tinytest.add("oauth - _endOfLoginResponse with popup loginStyle supports ROOT_UR
|
||||
credentials: {},
|
||||
loginStyle: 'popup'
|
||||
};
|
||||
OAuth._endOfLoginResponse(res, details);
|
||||
await OAuth._endOfLoginResponse(res, details);
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user