Skip to content

Commit 40c6bdf

Browse files
committed
Fix tests that generated invalid script artifacts.
1 parent ece596d commit 40c6bdf

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

verb-client/src/test/groovy/com/rundeck/verb/client/RundeckVerbClientTest.groovy

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class RundeckVerbClientTest extends Specification {
4848
RundeckVerbClient client = new RundeckVerbClient()
4949
client.createArtifactTemplate("Notifier", ArtifactType.JAVA_PLUGIN,"Notification",buildDir.absolutePath)
5050
TestUtils.buildGradle(new File(buildDir,"Notifier"))
51-
client.createArtifactTemplate("ScriptIt", ArtifactType.SCRIPT_PLUGIN,"NodeStep",buildDir.absolutePath)
51+
client.createArtifactTemplate("ScriptIt", ArtifactType.SCRIPT_PLUGIN,"NodeExecutor",buildDir.absolutePath)
5252
TestUtils.zipDir(buildDir.absolutePath+"/scriptit")
5353
client.createArtifactTemplate("DownloadMe", ArtifactType.META,"NodeStep",buildDir.absolutePath)
5454
}

verb-client/src/test/groovy/com/rundeck/verb/client/manifest/FilesystemManifestCreatorTest.groovy

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class FilesystemManifestCreatorTest extends Specification {
3434
File tempScriptDir = File.createTempDir()
3535
ScriptPluginTemplateGenerator sgen = new ScriptPluginTemplateGenerator()
3636
String artifactId = ArtifactUtils.archiveNameToId("Script Plugin Multiver")
37-
sgen.createTemplate("Script Plugin Multiver","Notification",tempScriptDir.absolutePath)
37+
sgen.createTemplate("Script Plugin Multiver","NodeExecutor",tempScriptDir.absolutePath)
3838
TestUtils.zipDir(tempScriptDir.absolutePath+"/script-plugin-multiver")
3939
Files.move(new File(tempScriptDir,"script-plugin-multiver.zip"),new File(tempManifestDir,"${artifactId}-0.1.zip"))
4040
Thread.sleep(1000)

verb-client/src/test/groovy/com/rundeck/verb/client/util/ArtifactUtilsTest.groovy

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class ArtifactUtilsTest extends Specification {
2727
setup:
2828
RundeckVerbClient client = new RundeckVerbClient()
2929
File buildDir = File.createTempDir()
30-
client.createArtifactTemplate("ScriptIt", ArtifactType.SCRIPT_PLUGIN, "NodeStep", buildDir.absolutePath)
30+
client.createArtifactTemplate("ScriptIt", ArtifactType.SCRIPT_PLUGIN, "NodeExecutor", buildDir.absolutePath)
3131
TestUtils.zipDir(buildDir.absolutePath+ "/scriptit")
3232

3333
expect:

0 commit comments

Comments
 (0)