Skip to content

Commit

Permalink
[JENKINS-18589] Updatign tests
Browse files Browse the repository at this point in the history
(cherry picked from commit 87851d1)
  • Loading branch information
kohsuke authored and olivergondza committed Sep 20, 2013
1 parent 22878ba commit f9e176a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/src/test/java/hudson/triggers/TriggerStartTest.java
Expand Up @@ -73,7 +73,7 @@ public class TriggerStartTest {
@Test public void updateByXmlCallsStartTrue() throws Exception {
FreeStyleProject p = j.createFreeStyleProject();
String xml = p.getConfigFile().asString();
xml = xml.replace(" <triggers class=\"vector\"/>\n", triggersSection());
xml = xml.replace(" <triggers/>\n", triggersSection());
Source newXML = new StreamSource(new StringReader(xml));
p.updateByXml(newXML);
MockTrigger t = p.getTrigger(MockTrigger.class);
Expand Down

0 comments on commit f9e176a

Please sign in to comment.