Skip to content

Commit

Permalink
[api] fix test case, don't do delayed project copy
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschroeter committed Oct 27, 2011
1 parent d367f63 commit 9ba9cbf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/api/test/functional/maintenance_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ def test_copy_project_for_release

# as admin
prepare_request_with_user "king", "sunflower"
post "/source/CopyOfBaseDistro?cmd=copy&oproject=BaseDistro"
post "/source/CopyOfBaseDistro?cmd=copy&oproject=BaseDistro&nodelay=1"
assert_response :success
get "/source/CopyOfBaseDistro/_meta"
assert_response :success
Expand Down
2 changes: 1 addition & 1 deletion src/api/test/functional/read_permission_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,7 @@ def test_copy_project_of_source_protected_package
'<package project="home:tom" name="ProtectedPackage"> <title/> <description/> <sourceaccess><disable/></sourceaccess> </package>'
assert_response :success

post "/source/CopyOfProject?cmd=copy&oproject=home:tom"
post "/source/CopyOfProject?cmd=copy&oproject=home:tom&nodelay=1"
assert_response :success
get "/source/CopyOfProject/_meta"
assert_response :success
Expand Down

0 comments on commit 9ba9cbf

Please sign in to comment.