refactor: 💡 mock authenticate should handle multiple auth types

This commit is contained in:
Randall Morey committed 2021-01-15 17:32:30 -05:00
1 parent 92640b96aa
commit a3c12b36e7
6 files changed
+36 -69

No files matched your search

+4 -4
View File
@@ -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';