Skip to content
Permalink
Browse files

[JENKINS-18589] Updatign tests

(cherry picked from commit 87851d1)
  • Loading branch information...
kohsuke authored and olivergondza committed Jul 4, 2013
1 parent 22878ba commit f9e176a5baa5baa85d0e9bb8f8bd23bc47272fd2
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/src/test/java/hudson/triggers/TriggerStartTest.java
@@ -73,7 +73,7 @@
@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);

0 comments on commit f9e176a

Please sign in to comment.
You can’t perform that action at this time.