X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ef7f3d800cbdd49b692df10d312e5fd880e2e938..baf10cd39289cd7e94a819305e46f43e85a136c6:/test/controllers/way_controller_test.rb
diff --git a/test/controllers/way_controller_test.rb b/test/controllers/way_controller_test.rb
index 3ae7aa36e..33d9b4579 100644
--- a/test/controllers/way_controller_test.rb
+++ b/test/controllers/way_controller_test.rb
@@ -124,11 +124,9 @@ class WayControllerTest < ActionController::TestCase
"" +
""
put :create
- # hope for success
+ # hope for failure
assert_response :forbidden,
- "way upload did not return success status"
- # read id of created way and search for it
- wayid = @response.body
+ "way upload did not return forbidden status"
## Now use a public user
nid1 = current_nodes(:used_node_1).id