aboutsummaryrefslogtreecommitdiff
path: root/test/tc_mauve_authentication.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/tc_mauve_authentication.rb')
-rw-r--r--test/tc_mauve_authentication.rb18
1 files changed, 5 insertions, 13 deletions
diff --git a/test/tc_mauve_authentication.rb b/test/tc_mauve_authentication.rb
index d0f2d4f..c364aca 100644
--- a/test/tc_mauve_authentication.rb
+++ b/test/tc_mauve_authentication.rb
@@ -26,9 +26,7 @@ class TcMauveAuthentication < Mauve::UnitTest
def test_default_auth_always_fails
config=<<EOF
-server {
- failed_login_delay 0
-}
+failed_login_delay 0
EOF
Configuration.current = ConfigurationBuilder.parse(config)
@@ -43,9 +41,7 @@ EOF
def test_local_auth
config=<<EOF
-server {
- failed_login_delay 0
-}
+failed_login_delay 0
person ("test") {
password "#{Digest::SHA1.new.hexdigest("password")}"
@@ -70,9 +66,7 @@ EOF
def test_local_auth
config=<<EOF
-server {
- failed_login_delay 0
-}
+failed_login_delay 0
person ("nopass") { }
@@ -97,10 +91,8 @@ EOF
# test2: POKvBqLT7
#
config=<<EOF
-server {
- failed_login_delay 0
- bytemark_auth_url "https://auth.bytemark.co.uk/"
-}
+failed_login_delay 0
+bytemark_auth_url "https://auth.bytemark.co.uk/"
person ("test1") { }