mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 02:17:05 +00:00
New: gRPC MVC features, new WithLowercaseRouting option and add some new context methods
read HISTORY.md Former-commit-id: 30a16cceb11f754aa32923058abeda1e736350e7
This commit is contained in:
@@ -10,7 +10,7 @@ func TestGRPCCompatible(t *testing.T) {
|
||||
app := newApp()
|
||||
|
||||
e := httptest.New(t, app)
|
||||
e.POST("/hello").WithJSON(map[string]string{"name": "makis"}).Expect().
|
||||
e.POST("/helloworld.Greeter/SayHello").WithJSON(map[string]string{"name": "makis"}).Expect().
|
||||
Status(httptest.StatusOK).
|
||||
JSON().Equal(map[string]string{"message": "Hello makis"})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user