From e9c59695a3a8ec01a4e7dfc1b9290551a16fdbb0 Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Sun, 5 May 2024 21:00:46 -0600 Subject: [PATCH] Fix assertion for new data format --- .../integrations/jobdsl/PromotionsDslContextExtensionTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/hudson/plugins/promoted_builds/integrations/jobdsl/PromotionsDslContextExtensionTest.java b/src/test/java/hudson/plugins/promoted_builds/integrations/jobdsl/PromotionsDslContextExtensionTest.java index b23e038a..e0b01d43 100644 --- a/src/test/java/hudson/plugins/promoted_builds/integrations/jobdsl/PromotionsDslContextExtensionTest.java +++ b/src/test/java/hudson/plugins/promoted_builds/integrations/jobdsl/PromotionsDslContextExtensionTest.java @@ -112,7 +112,7 @@ public void testShouldGenerateTheDynamicDslJob() throws Exception { TopLevelItem item = j.jenkins.getItem("dynamic-dsl-test"); File config = new File(item.getRootDir(), "promotions/Development/config.xml"); String content = Files.readString(config.toPath()); - assert content.contains(""); + assert content.contains("