diff --git a/lib/util/cache/repository/index.spec.ts b/lib/util/cache/repository/index.spec.ts index 04ff954b7ec5385eeafa8959fdb7ed8b9b613026..e5c28fba1356c69661f74fabbb05923cb32cba8c 100644 --- a/lib/util/cache/repository/index.spec.ts +++ b/lib/util/cache/repository/index.spec.ts @@ -40,7 +40,7 @@ describe('util/cache/repository/index', () => { GlobalConfig.set({ cacheDir: '/tmp/cache', platform: 'github', - dryRun: true, + dryRun: 'full', }); await initRepoCache({ ...config, repositoryCache: 'enabled' }); await saveCache(); diff --git a/lib/workers/repository/update/pr/index.spec.ts b/lib/workers/repository/update/pr/index.spec.ts index 7316ea6f0e5e0953094085d9febba312cbae1cb4..7a6e86eda21ac73999786d5fa8684fa0b32af5d7 100644 --- a/lib/workers/repository/update/pr/index.spec.ts +++ b/lib/workers/repository/update/pr/index.spec.ts @@ -356,7 +356,7 @@ describe('workers/repository/update/pr/index', () => { describe('dry-run', () => { beforeEach(() => { - GlobalConfig.set({ dryRun: true }); + GlobalConfig.set({ dryRun: 'full' }); }); it('dry-runs PR creation', async () => { diff --git a/lib/workers/repository/update/pr/participants.spec.ts b/lib/workers/repository/update/pr/participants.spec.ts index bbc17f95f015b2d24497fe209413f4ecdda1e9c7..723b509588f1621bf052967ee803d05a8b85283d 100644 --- a/lib/workers/repository/update/pr/participants.spec.ts +++ b/lib/workers/repository/update/pr/participants.spec.ts @@ -54,7 +54,7 @@ describe('workers/repository/update/pr/participants', () => { }); it('supports dry run assignee adding', async () => { - GlobalConfig.set({ dryRun: true }); + GlobalConfig.set({ dryRun: 'full' }); await addParticipants(config, pr); expect(platform.addAssignees).not.toHaveBeenCalled(); }); @@ -91,7 +91,7 @@ describe('workers/repository/update/pr/participants', () => { }); it('supports dry run assignee adding', async () => { - GlobalConfig.set({ dryRun: true }); + GlobalConfig.set({ dryRun: 'full' }); await addParticipants(config, pr); expect(platform.addReviewers).not.toHaveBeenCalled(); });