Skip to content

Commit d032b22

Browse files
committed
fix broken test
1 parent 947deea commit d032b22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RubberduckTests/QuickFixes/AccessSheetUsingCodeNameQuickFixTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ private IVBE TestVbe(string code, string sheetName, out IVBComponent component)
224224
})
225225
.AddComponent("Sheet1", ComponentType.Document, string.Empty,
226226
properties: new[] {
227-
CreateVBComponentPropertyMock("Name", "Sheet1").Object,
227+
CreateVBComponentPropertyMock("Name", sheetName).Object,
228228
CreateVBComponentPropertyMock("CodeName", "Sheet1").Object
229229
})
230230
.AddComponent("CodeName", ComponentType.Document, string.Empty,

0 commit comments

Comments
 (0)