mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
ci: Fix WorkflowHistoryManager tests (no-changelog) (#7356)
[DB Tests](https://github.com/n8n-io/n8n/actions/runs/6418058186)
This commit is contained in:
committed by
GitHub
parent
7ebf8f327a
commit
169175080a
@@ -118,7 +118,7 @@ export async function terminate() {
|
||||
export async function truncate(collections: CollectionName[]) {
|
||||
const [tag, rest] = separate(collections, (c) => c === 'Tag');
|
||||
|
||||
if (tag) {
|
||||
if (tag.length) {
|
||||
await Container.get(TagRepository).delete({});
|
||||
await Container.get(WorkflowTagMappingRepository).delete({});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user