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