mirror of
https://github.com/strapi/strapi.git
synced 2025-10-28 16:39:37 +00:00
store the hashed accessKey in the database
This commit is contained in:
parent
b50afb69d5
commit
ca668c78e8
@ -11,7 +11,7 @@ describe('API Token Controller', () => {
|
||||
type: 'read-only',
|
||||
};
|
||||
|
||||
test('Fails if API Token already exist', async () => {
|
||||
test('Fails if API Token already exists', async () => {
|
||||
const exists = jest.fn(() => true);
|
||||
const badRequest = jest.fn();
|
||||
const ctx = createContext({ body }, { badRequest });
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user