summaryrefslogtreecommitdiffstats
path: root/test/extra/redmine_pm/repository_subversion_test_pm.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/extra/redmine_pm/repository_subversion_test_pm.rb')
-rw-r--r--test/extra/redmine_pm/repository_subversion_test_pm.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/extra/redmine_pm/repository_subversion_test_pm.rb b/test/extra/redmine_pm/repository_subversion_test_pm.rb
index 8970beba0..a529d697c 100644
--- a/test/extra/redmine_pm/repository_subversion_test_pm.rb
+++ b/test/extra/redmine_pm/repository_subversion_test_pm.rb
@@ -1,7 +1,7 @@
# frozen_string_literal: false
# Redmine - project management software
-# Copyright (C) 2006-2023 Jean-Philippe Lang
+# Copyright (C) 2006- Jean-Philippe Lang
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -256,13 +256,13 @@ class RedminePmTest::RepositorySubversionTest < RedminePmTest::TestCase
ldap_user = User.new(:mail => 'example1@redmine.org', :firstname => 'LDAP', :lastname => 'user', :auth_source_id => 1)
ldap_user.login = 'example1'
ldap_user.save!
-
+
with_settings :login_required => '1' do
with_credentials "example1", "123456" do
assert_success "ls", svn_url
end
end
-
+
with_settings :login_required => '1' do
with_credentials "example1", "wrong" do
assert_failure "ls", svn_url