Skip to content

Commit

Permalink
fix routing ut
Browse files Browse the repository at this point in the history
  • Loading branch information
greedy52 committed Jan 9, 2025
1 parent 83686c6 commit b05b384
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/proxy/router_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ func TestGetServers(t *testing.T) {
{
name: "git server",
site: testSite{cfg: &unambiguousCfg, gitServers: gitServers},
host: "org2.github-org",
host: "org2.teleport-github-org",
errAssertion: require.NoError,
serverAssertion: func(t *testing.T, srv types.Server) {
require.NotNil(t, srv)
Expand All @@ -520,7 +520,7 @@ func TestGetServers(t *testing.T) {
{
name: "git server not found",
site: testSite{cfg: &unambiguousCfg, gitServers: gitServers},
host: "org-not-found.github-org",
host: "org-not-found.teleport-github-org",
errAssertion: func(t require.TestingT, err error, i ...interface{}) {
require.True(t, trace.IsNotFound(err), i...)
},
Expand Down

0 comments on commit b05b384

Please sign in to comment.