mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
refactor(test): use random name and indicator in create resource integration test (#1647)
This commit is contained in:
parent
52dc3d92ff
commit
d2389a6bb5
1 changed files with 2 additions and 2 deletions
|
@ -24,8 +24,8 @@ describe('admin console api resources', () => {
|
|||
});
|
||||
|
||||
it('should create api resource successfully', async () => {
|
||||
const resourceName = 'gallery';
|
||||
const resourceIndicator = 'https://gallery.logto.io';
|
||||
const resourceName = generateResourceName();
|
||||
const resourceIndicator = generateResourceIndicator();
|
||||
|
||||
const createdResource = await createResource(resourceName, resourceIndicator);
|
||||
|
||||
|
|
Loading…
Reference in a new issue