diff --git a/test/manager/gomod/artifacts.spec.js b/test/manager/gomod/artifacts.spec.js
index f4d98b021306f78d12ca09f5be7f3dd11f1b67b6..22c13bee33fdfd550b9e42236e815609bfd09f77 100644
--- a/test/manager/gomod/artifacts.spec.js
+++ b/test/manager/gomod/artifacts.spec.js
@@ -14,7 +14,7 @@ describe('.getArtifacts()', () => {
     jest.resetAllMocks();
   });
   it('returns if no go.sum found', async () => {
-    expect(await gomod.getArtifacts('gomod.json', [], '{}', config)).toBeNull();
+    expect(await gomod.getArtifacts('go.mod', [], '{}', config)).toBeNull();
   });
   it('returns null if unchanged', async () => {
     platform.getFile.mockReturnValueOnce('Current go.sum');
@@ -23,7 +23,7 @@ describe('.getArtifacts()', () => {
       stderror: '',
     });
     fs.readFile = jest.fn(() => 'Current go.sum');
-    expect(await gomod.getArtifacts('gomod.json', [], '{}', config)).toBeNull();
+    expect(await gomod.getArtifacts('go.mod', [], '{}', config)).toBeNull();
   });
   it('returns updated go.sum', async () => {
     platform.getFile.mockReturnValueOnce('Current go.sum');
@@ -32,9 +32,7 @@ describe('.getArtifacts()', () => {
       stderror: '',
     });
     fs.readFile = jest.fn(() => 'New go.sum');
-    expect(
-      await gomod.getArtifacts('gomod.json', [], '{}', config)
-    ).not.toBeNull();
+    expect(await gomod.getArtifacts('go.mod', [], '{}', config)).not.toBeNull();
   });
   it('supports docker mode', async () => {
     platform.getFile.mockReturnValueOnce('Current go.sum');
@@ -44,7 +42,7 @@ describe('.getArtifacts()', () => {
     });
     fs.readFile = jest.fn(() => 'New go.sum');
     expect(
-      await gomod.getArtifacts('gomod.json', [], '{}', {
+      await gomod.getArtifacts('go.mod', [], '{}', {
         ...config,
         binarySource: 'docker',
       })