]> source.dussan.org Git - redmine.git/commitdiff
Fix test failure due to r21601 (#36938).
authorGo MAEDA <maeda@farend.jp>
Wed, 25 May 2022 13:52:04 +0000 (13:52 +0000)
committerGo MAEDA <maeda@farend.jp>
Wed, 25 May 2022 13:52:04 +0000 (13:52 +0000)
git-svn-id: https://svn.redmine.org/redmine/trunk@21603 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/integration/api_test/memberships_test.rb

index 52af88fe9a23fae2807aefda7c50383c2d920aed..9d3b333e14d7e15f9266004f1768fa3722501c04 100644 (file)
@@ -103,7 +103,7 @@ class Redmine::ApiTest::MembershipsTest < Redmine::ApiTest::Base
       )
       assert_response :unprocessable_entity
       assert_equal 'application/xml', @response.media_type
-      assert_select 'errors error', :text => "Principal cannot be blank"
+      assert_select 'errors error', :text => 'User or Group cannot be blank'
     end
   end