refactor: 💡 mock authenticate should handle multiple auth types
This commit is contained in:
6 files changed
+36
-69
No files matched your search
@@ -1,7 +1,7 @@
|
||||
import BaseAuthenticator from './base';
|
||||
// import { resolve, reject } from 'rsvp';
|
||||
// import fetch from 'fetch';
|
||||
import { Promise } from 'rsvp';
|
||||
//import { Promise } from 'rsvp';
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -17,9 +17,9 @@ export default class OIDCAuthenticator extends BaseAuthenticator {
|
||||
} */) { }
|
||||
|
||||
async authenticate(
|
||||
creds,
|
||||
requestCookies = true,
|
||||
options
|
||||
// creds,
|
||||
// requestCookies = true,
|
||||
// options
|
||||
) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { module, test } from 'qunit';
|
||||
import { module/*, test */} from 'qunit';
|
||||
import { setupTest } from 'ember-qunit';
|
||||
import setupMirage from 'ember-cli-mirage/test-support/setup-mirage';
|
||||
|
||||
|
||||
Reference in new issue
Block a user