Mailinglist Archive: yast-commit (883 mails)

< Previous Next >
[yast-commit] <rest-service> master : Pretend to be 'root'
  • From: Klaus Kämpf <kkaempf@xxxxxxx>
  • Date: Mon, 6 Jul 2009 16:53:29 +0200
  • Message-id: <E1MNpZU-0007wR-PK@xxxxxxxxxxxxxxxx>
ref: refs/heads/master
commit 61bd7fd42325799c942d3962ccb0c9ea874c73e6
Author: Klaus Kämpf <kkaempf@xxxxxxx>
Date: Mon Jul 6 16:53:29 2009 +0200

Pretend to be 'root'
---
webservice/test/unit/yast_roles_test.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/webservice/test/unit/yast_roles_test.rb
b/webservice/test/unit/yast_roles_test.rb
index 4932b18..5b08275 100644
--- a/webservice/test/unit/yast_roles_test.rb
+++ b/webservice/test/unit/yast_roles_test.rb
@@ -17,7 +17,7 @@ class YastRolesTest < ActiveSupport::TestCase

def setup
ENV["RAILS_ENV"] = ""
- @current_account = CurrentLogin.new "test"
+ @current_account = CurrentLogin.new "root" # be brave
end

def test_permission_check_trivial
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages