From f45cccd53728fda08fa8984948492dc2089aa636 Mon Sep 17 00:00:00 2001
From: RahulGautamSingh <rahultesnik@gmail.com>
Date: Fri, 25 Aug 2023 10:01:09 +0545
Subject: [PATCH] test: convert `dryRun=true` -> `dryRun='full'` (#24074)

---
 lib/util/cache/repository/index.spec.ts               | 2 +-
 lib/workers/repository/update/pr/index.spec.ts        | 2 +-
 lib/workers/repository/update/pr/participants.spec.ts | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/util/cache/repository/index.spec.ts b/lib/util/cache/repository/index.spec.ts
index 04ff954b7e..e5c28fba13 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 7316ea6f0e..7a6e86eda2 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 bbc17f95f0..723b509588 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();
     });
-- 
GitLab