Skip to content

Commit

Permalink
Improved MPL test
Browse files Browse the repository at this point in the history
  • Loading branch information
lincolnthree committed Mar 6, 2013
1 parent d8a984b commit 692e391
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ public void testFindProject() throws Exception
DirectoryResource addonDir = factory.create(forge.getAddonDir()).reify(DirectoryResource.class);
DirectoryResource projectDir = addonDir.createTempResource();
FileResource<?> pomFile = projectDir.getChild("pom.xml").reify(FileResource.class);
Assert.assertFalse(locator.containsProject(projectDir));
pomFile.createNewFile();
pomFile.setContents(getClass().getClassLoader().getResourceAsStream("/pom-template.xml"));

Expand Down

0 comments on commit 692e391

Please sign in to comment.