diff --git a/lib/auth/test.rb b/lib/auth/test.rb index 0930ce2d3..cf68a85be 100644 --- a/lib/auth/test.rb +++ b/lib/auth/test.rb @@ -4,7 +4,7 @@ module Auth::TEST def self.check( username, password, config, user ) # development systems - if !ENV['RAILS_ENV'] || ENV['RAILS_ENV'] == 'development' + if !ENV['RAILS_ENV'] || ENV['RAILS_ENV'] == 'development' || ENV['RAILS_ENV'] == 'test' return user if password == 'test' end