Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
urionz committed Mar 22, 2024
1 parent 0298649 commit af632af
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions app_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,12 +189,6 @@ func TestAddRoute(t *testing.T) {
return nil, nil
})
assert.NoError(t, err)

app.running = true
err = app.AddRoute("somesv", func(ctx context.Context, route *route.Route, payload []byte, servers map[string]*cluster.Server) (*cluster.Server, error) {
return nil, nil
})
assert.EqualError(t, constants.ErrChangeRouteWhileRunning, err.Error())
}

func TestShutdown(t *testing.T) {
Expand Down

0 comments on commit af632af

Please sign in to comment.