diff --git a/lib/config/presets/github/index.spec.ts b/lib/config/presets/github/index.spec.ts
index 23186b8dd65d74d3c8439011573c78ab5824debe..cc3ec4516a39adc3cb17f2497397bc92ff52b786 100644
--- a/lib/config/presets/github/index.spec.ts
+++ b/lib/config/presets/github/index.spec.ts
@@ -43,9 +43,9 @@ describe(getName(__filename), () => {
       httpMock
         .scope(githubApiHost)
         .get(`${basePath}/default.json`)
-        .reply(500, {})
+        .reply(404, {})
         .get(`${basePath}/renovate.json`)
-        .reply(500, {});
+        .reply(200, {});
 
       await expect(
         github.getPreset({ packageName: 'some/repo' })