Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[JENKINS-28298] Made ProjectQueueItemAuthenticatorTest#testWorkflow
… to work with strategyEnableMap.
  • Loading branch information
ikedam committed Mar 19, 2016
1 parent fa7ca0d commit ad44c7f
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -80,7 +80,7 @@
*/
public class ProjectQueueItemAuthenticatorTest {
@Rule
public JenkinsRule j = new AuthorizeProjectJenkinsRule();
public JenkinsRule j = new AuthorizeProjectJenkinsRule(SpecificUsersAuthorizationStrategy.class);

public static class NullAuthorizeProjectStrategy extends AuthorizeProjectStrategy {
@DataBoundConstructor
Expand Down Expand Up @@ -485,7 +485,7 @@ public Authentication authenticate(AbstractProject<?, ?> project, Queue.Item ite
return User.get(name).impersonate();
}

@TestExtension("testOldSignature")
@TestExtension
public static class DescriptorImpl extends AuthorizeProjectStrategyDescriptor {
@Override
public String getDisplayName() {
Expand Down

0 comments on commit ad44c7f

Please sign in to comment.