unused helper

This commit is contained in:
mertalev 2025-10-15 18:44:59 -04:00
parent 3b5fbe7a89
commit 7bf2cd104e
No known key found for this signature in database
GPG key ID: DF6ABC77AAD98C95

View file

@ -244,12 +244,6 @@ export class MediumTestContext<S extends BaseService = BaseService> {
};
}
async newTag(dto: Partial<Insertable<TagTable>>) {
const tag = mediumFactory.tagInsert(dto);
const result = await this.get(TagRepository).create(tag);
return { tag, result };
}
async newTagAsset(tagBulkAssets: { tagIds: string[]; assetIds: string[] }) {
const tagsAssets: Insertable<TagAssetTable>[] = [];
for (const tagsId of tagBulkAssets.tagIds) {