use of org.jvnet.hudson.test.recipes.LocalData in project promoted-builds-plugin by jenkinsci.
the class ConfigurationRoundtripTest method testLoad.
@LocalData
@Bug(17341)
public void testLoad() throws Exception {
FreeStyleProject j = jenkins.getItemByFullName("j", FreeStyleProject.class);
assertNotNull(j);
Promotion p = j.getProperty(JobPropertyImpl.class).getItem("OK").getBuildByNumber(1);
assertNotNull(p);
}
Aggregations