mirror of
https://github.com/discourse/discourse.git
synced 2025-09-04 08:47:37 +08:00
Fix the build.
This commit is contained in:
parent
d9b4b12694
commit
b9ff6d60b9
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue