public void GetFrontendFrameworks() { SetUpFixtureForTesting(ProgrammingLanguages.CSharp); var frameworks = _repo.GetFrontEndFrameworks(TestPlatform, "pt1"); Assert.Collection(frameworks, e1 => { Assert.Equal("TestFramework", e1.Name); Assert.Equal(FrameworkTypes.FrontEnd.ToString().ToLower(), e1.Tags["type"]); }); }
public void GetFrontendFrameworks() { SetUpFixtureForTesting(ProgrammingLanguages.CSharp); _context.ProjectType = "pt1"; var frameworks = _repo.GetFrontEndFrameworks(_context); Assert.Collection(frameworks, e1 => { Assert.Equal("TestFramework", e1.Name); Assert.Equal(FrameworkTypes.FrontEnd.ToString().ToLowerInvariant(), e1.Tags["type"]); }); }