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