mirror of
https://github.com/strapi/strapi.git
synced 2025-11-02 02:44:55 +00:00
implement POST endpoint to create api tokens
This commit is contained in:
parent
78e5bd98d3
commit
b50afb69d5
@ -11,7 +11,7 @@ describe('API Token Controller', () => {
|
||||
type: 'read-only',
|
||||
};
|
||||
|
||||
test('Fails if API Token already exists', async () => {
|
||||
test('Fails if API Token already exist', async () => {
|
||||
const exists = jest.fn(() => true);
|
||||
const badRequest = jest.fn();
|
||||
const ctx = createContext({ body }, { badRequest });
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user