mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 00:11:30 +08:00
Fix the build.
This commit is contained in:
@ -1,7 +1,7 @@
|
|||||||
moduleFor("controller:preferences/second-factor");
|
moduleFor("controller:preferences/second-factor");
|
||||||
|
|
||||||
QUnit.test("displayOAuthWarning when OAuth login methods are disabled", assert => {
|
QUnit.test("displayOAuthWarning when OAuth login methods are disabled", function(assert) {
|
||||||
let controller = this.subject({
|
const controller = this.subject({
|
||||||
siteSettings: {
|
siteSettings: {
|
||||||
enable_google_oauth2_logins: false
|
enable_google_oauth2_logins: false
|
||||||
}
|
}
|
||||||
@ -13,8 +13,8 @@ QUnit.test("displayOAuthWarning when OAuth login methods are disabled", assert =
|
|||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
QUnit.test("displayOAuthWarning when OAuth login methods are enabled", assert => {
|
QUnit.test("displayOAuthWarning when OAuth login methods are enabled", function(assert) {
|
||||||
let controller = this.subject({
|
const controller = this.subject({
|
||||||
siteSettings: {
|
siteSettings: {
|
||||||
enable_google_oauth2_logins: true
|
enable_google_oauth2_logins: true
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user