0
Fork 0
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:
Xiao Yijun 2022-07-21 18:36:04 +08:00 committed by GitHub
parent 52dc3d92ff
commit d2389a6bb5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);