Skip to content

Commit

Permalink
[api] drop "setrelease" part from testcase, this is master branch only
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschroeter committed Mar 11, 2014
1 parent b26b6be commit 50eaf60
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/api/test/functional/source_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2178,9 +2178,9 @@ def test_release_package



# release for real with a defined release tag
# release for real
login_adrian
post '/source/home:Iggy/TestPack?cmd=release&setrelease=Beta1', nil
post '/source/home:Iggy/TestPack?cmd=release', nil
assert_response :success
assert_xml_tag :tag => 'status', :attributes => { :code => 'ok' }

Expand All @@ -2201,9 +2201,7 @@ def test_release_package
get '/build/home:adrian:RT/rt/i586/TestPack/'
assert_response :success
assert_xml_tag :tag => 'binarylist', :children => { :count => 4 }
# binary got renamed during release
assert_no_xml_tag :tag => 'binary', :attributes => { :filename => 'package-1.0-1.i586.rpm' }
assert_xml_tag :tag => 'binary', :attributes => { :filename => 'package-1.0-Beta1.i586.rpm' }
assert_xml_tag :tag => 'binary', :attributes => { :filename => 'package-1.0-1.i586.rpm' }

# cleanup
login_Iggy
Expand Down

0 comments on commit 50eaf60

Please sign in to comment.