mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 21:42:27 +00:00
implemented getDescriptor() to - hopefully - fix the AssertionError in the tests
This commit is contained in:
1 parent
a3d1388677
commit
819c8528de
1 file changed
+5
@@ -30,6 +30,11 @@ public class MockBuilder extends Builder {
|
||||
build.setResult(result);
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Descriptor<Builder> getDescriptor() {
|
||||
return new DescriptorImpl();
|
||||
}
|
||||
|
||||
@Extension
|
||||
public static final class DescriptorImpl extends Descriptor<Builder> {
|
||||
|
||||
Reference in new issue
Block a user