diff --git a/draft/library/server/request/rest/tests/src/app/app_test.e b/draft/library/server/request/rest/tests/src/app/app_test.e index 5e6e745b..e5d48765 100644 --- a/draft/library/server/request/rest/tests/src/app/app_test.e +++ b/draft/library/server/request/rest/tests/src/app/app_test.e @@ -59,7 +59,7 @@ feature -- Execution s.append_string (" format=" + l_format + "%N") end - if attached ctx.string_parameter ("op") as l_op then + if attached ctx.string_item ("op") as l_op then s.append_string (" op=" + l_op) if l_op.same_string ("crash") then (create {DEVELOPER_EXCEPTION}).raise diff --git a/draft/library/server/request/rest/tests/src/app_server.e b/draft/library/server/request/rest/tests/src/app_server.e index c5260a82..ad86985b 100644 --- a/draft/library/server/request/rest/tests/src/app_server.e +++ b/draft/library/server/request/rest/tests/src/app_server.e @@ -50,7 +50,6 @@ feature {NONE} -- Handlers create gh.make (4) router.map ("/test", gh) - gh.map_default (h) -- gh.map ("/test", h) gh.map ("/test/{op}", h) gh.map ("/test.{format}", h)