1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-02 03:55:45 +02:00

fix(backend): typeormのbreaking changeに対応 (#16105)

* fix(backend): typeormのbreaking changeに対応

* attempt to fix test
This commit is contained in:
かっこかり
2025-05-27 13:50:45 +09:00
committed by GitHub
parent 47f4f11e3e
commit 07c2de3749
11 changed files with 27 additions and 27 deletions

View File

@@ -162,10 +162,10 @@ describe('AbuseReportNotificationService', () => {
emailService.sendEmail.mockClear();
webhookService.enqueueSystemWebhook.mockClear();
await usersRepository.delete({});
await userProfilesRepository.delete({});
await systemWebhooksRepository.delete({});
await abuseReportNotificationRecipientRepository.delete({});
await usersRepository.createQueryBuilder().delete().execute();
await userProfilesRepository.createQueryBuilder().delete().execute();
await systemWebhooksRepository.createQueryBuilder().delete().execute();
await abuseReportNotificationRecipientRepository.createQueryBuilder().delete().execute();
});
afterAll(async () => {