提交 87851d17 编写于 作者: K Kohsuke Kawaguchi

Updatign tests

上级 c9282915
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册