From 6907de1d2f0cd1967482667c798585b1dc20b53a Mon Sep 17 00:00:00 2001
From: Sergei Zharinov <zharinov@users.noreply.github.com>
Date: Thu, 18 Jul 2024 13:01:29 -0300
Subject: [PATCH] test(changelog): Move fixture files (#30225)

---
 .../pr/{ => changelog}/__fixtures__/adapter-utils.md |  0
 .../pr/{ => changelog}/__fixtures__/angular-js.md    |  0
 .../pr/{ => changelog}/__fixtures__/gitter-webapp.md |  0
 .../update/pr/{ => changelog}/__fixtures__/jest.md   |  0
 .../pr/{ => changelog}/__fixtures__/js-yaml.md       |  0
 .../update/pr/{ => changelog}/__fixtures__/yargs.md  |  0
 .../update/pr/changelog/bitbucket/index.spec.ts      |  2 +-
 .../update/pr/changelog/release-notes.spec.ts        | 12 ++++++------
 8 files changed, 7 insertions(+), 7 deletions(-)
 rename lib/workers/repository/update/pr/{ => changelog}/__fixtures__/adapter-utils.md (100%)
 rename lib/workers/repository/update/pr/{ => changelog}/__fixtures__/angular-js.md (100%)
 rename lib/workers/repository/update/pr/{ => changelog}/__fixtures__/gitter-webapp.md (100%)
 rename lib/workers/repository/update/pr/{ => changelog}/__fixtures__/jest.md (100%)
 rename lib/workers/repository/update/pr/{ => changelog}/__fixtures__/js-yaml.md (100%)
 rename lib/workers/repository/update/pr/{ => changelog}/__fixtures__/yargs.md (100%)

diff --git a/lib/workers/repository/update/pr/__fixtures__/adapter-utils.md b/lib/workers/repository/update/pr/changelog/__fixtures__/adapter-utils.md
similarity index 100%
rename from lib/workers/repository/update/pr/__fixtures__/adapter-utils.md
rename to lib/workers/repository/update/pr/changelog/__fixtures__/adapter-utils.md
diff --git a/lib/workers/repository/update/pr/__fixtures__/angular-js.md b/lib/workers/repository/update/pr/changelog/__fixtures__/angular-js.md
similarity index 100%
rename from lib/workers/repository/update/pr/__fixtures__/angular-js.md
rename to lib/workers/repository/update/pr/changelog/__fixtures__/angular-js.md
diff --git a/lib/workers/repository/update/pr/__fixtures__/gitter-webapp.md b/lib/workers/repository/update/pr/changelog/__fixtures__/gitter-webapp.md
similarity index 100%
rename from lib/workers/repository/update/pr/__fixtures__/gitter-webapp.md
rename to lib/workers/repository/update/pr/changelog/__fixtures__/gitter-webapp.md
diff --git a/lib/workers/repository/update/pr/__fixtures__/jest.md b/lib/workers/repository/update/pr/changelog/__fixtures__/jest.md
similarity index 100%
rename from lib/workers/repository/update/pr/__fixtures__/jest.md
rename to lib/workers/repository/update/pr/changelog/__fixtures__/jest.md
diff --git a/lib/workers/repository/update/pr/__fixtures__/js-yaml.md b/lib/workers/repository/update/pr/changelog/__fixtures__/js-yaml.md
similarity index 100%
rename from lib/workers/repository/update/pr/__fixtures__/js-yaml.md
rename to lib/workers/repository/update/pr/changelog/__fixtures__/js-yaml.md
diff --git a/lib/workers/repository/update/pr/__fixtures__/yargs.md b/lib/workers/repository/update/pr/changelog/__fixtures__/yargs.md
similarity index 100%
rename from lib/workers/repository/update/pr/__fixtures__/yargs.md
rename to lib/workers/repository/update/pr/changelog/__fixtures__/yargs.md
diff --git a/lib/workers/repository/update/pr/changelog/bitbucket/index.spec.ts b/lib/workers/repository/update/pr/changelog/bitbucket/index.spec.ts
index a9a0ce2bb5..f4a9c45f55 100644
--- a/lib/workers/repository/update/pr/changelog/bitbucket/index.spec.ts
+++ b/lib/workers/repository/update/pr/changelog/bitbucket/index.spec.ts
@@ -9,7 +9,7 @@ import { BitbucketChangeLogSource } from './source';
 const baseUrl = 'https://bitbucket.org/';
 const apiBaseUrl = 'https://api.bitbucket.org/';
 
-const changelogMd = Fixtures.get('jest.md', '../..');
+const changelogMd = Fixtures.get('jest.md', '..');
 
 const upgrade = partial<BranchUpgradeConfig>({
   manager: 'some-manager',
diff --git a/lib/workers/repository/update/pr/changelog/release-notes.spec.ts b/lib/workers/repository/update/pr/changelog/release-notes.spec.ts
index 39ce658c6e..b366ba2a3a 100644
--- a/lib/workers/repository/update/pr/changelog/release-notes.spec.ts
+++ b/lib/workers/repository/update/pr/changelog/release-notes.spec.ts
@@ -28,12 +28,12 @@ jest.mock('../../../../../util/host-rules', () => mockDeep());
 
 const hostRules = mocked(_hostRules);
 
-const angularJsChangelogMd = Fixtures.get('angular-js.md', '..');
-const jestChangelogMd = Fixtures.get('jest.md', '..');
-const jsYamlChangelogMd = Fixtures.get('js-yaml.md', '..');
-const yargsChangelogMd = Fixtures.get('yargs.md', '..');
-const adapterutilsChangelogMd = Fixtures.get('adapter-utils.md', '..');
-const gitterWebappChangelogMd = Fixtures.get('gitter-webapp.md', '..');
+const angularJsChangelogMd = Fixtures.get('angular-js.md');
+const jestChangelogMd = Fixtures.get('jest.md');
+const jsYamlChangelogMd = Fixtures.get('js-yaml.md');
+const yargsChangelogMd = Fixtures.get('yargs.md');
+const adapterutilsChangelogMd = Fixtures.get('adapter-utils.md');
+const gitterWebappChangelogMd = Fixtures.get('gitter-webapp.md');
 
 const githubTreeResponse = {
   tree: [
-- 
GitLab