We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9040ddc commit 9f9fb15Copy full SHA for 9f9fb15
RubberduckTests/Commands/UnitTestCommandTests.cs
@@ -320,7 +320,8 @@ public void AddsTestModule()
320
addTestModuleCommand.Execute(null);
321
322
// mock suite auto-assigns "TestModule1" to the first component when we create the mock
323
- var module = parser.State.DeclarationFinder.FindStdModule("TestModule2");
+ var project = parser.State.DeclarationFinder.FindProject("TestProject1");
324
+ var module = parser.State.DeclarationFinder.FindStdModule("TestModule2", project);
325
Assert.IsTrue(module.Annotations.Any(a => a.AnnotationType == AnnotationType.TestModule));
326
}
327
0 commit comments