From 2a78c10b9411455884897dbb8780ccc062d04c1b Mon Sep 17 00:00:00 2001 From: Kohsuke Kawaguchi Date: Fri, 14 Mar 2014 09:59:56 -0700 Subject: [PATCH] Updating tests to fix more regressions --- test/src/test/java/hudson/model/MyViewsPropertyTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/src/test/java/hudson/model/MyViewsPropertyTest.java b/test/src/test/java/hudson/model/MyViewsPropertyTest.java index f018ff8d6b..4c94f1bd50 100644 --- a/test/src/test/java/hudson/model/MyViewsPropertyTest.java +++ b/test/src/test/java/hudson/model/MyViewsPropertyTest.java @@ -224,6 +224,7 @@ public class MyViewsPropertyTest { @Test public void testCheckPermission() throws IOException { + rule.jenkins.setSecurityRealm(rule.createDummySecurityRealm()); User user = User.get("User"); User user2 = User.get("User2"); MyViewsProperty property = new MyViewsProperty(Messages.Hudson_ViewName()); @@ -260,6 +261,7 @@ public class MyViewsPropertyTest { @Test public void testHasPermission() throws IOException { + rule.jenkins.setSecurityRealm(rule.createDummySecurityRealm()); User user = User.get("User"); User user2 = User.get("User2"); MyViewsProperty property = new MyViewsProperty(Messages.Hudson_ViewName()); -- GitLab