Skip to content

Commit 5f5c278

Browse files
authored
Merge pull request #120 from MarkEWaite/adapt-to-FullyNamed-interface
2 parents 51568f3 + 1a3197d commit 5f5c278

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/java/jp/ikedam/jenkins/plugins/extensible_choice_parameter/SystemGroovyChoiceListProviderJenkinsTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,7 @@ public void testGetChoiceList() {
411411
@Test
412412
public void testVariables() throws Exception {
413413
ScriptApproval.get().approveSignature("method hudson.model.Item getFullName");
414+
ScriptApproval.get().approveSignature("method jenkins.model.FullyNamed getFullName");
414415
FreeStyleProject p = j.createFreeStyleProject();
415416
p.addProperty(new ParametersDefinitionProperty(new ExtensibleChoiceParameterDefinition(
416417
"test", new SystemGroovyChoiceListProvider("[project.fullName]", null, true), false, "test")));
@@ -429,6 +430,7 @@ public void testVariables() throws Exception {
429430
@Test
430431
public void testProjectVariable() throws Exception {
431432
ScriptApproval.get().approveSignature("method hudson.model.Item getFullName");
433+
ScriptApproval.get().approveSignature("method jenkins.model.FullyNamed getFullName");
432434
FreeStyleProject p = j.createFreeStyleProject();
433435
CaptureEnvironmentBuilder ceb = new CaptureEnvironmentBuilder();
434436
p.addProperty(new ParametersDefinitionProperty(new ExtensibleChoiceParameterDefinition(

0 commit comments

Comments
 (0)