Commit db7267c8 authored by Mathijs den Burger's avatar Mathijs den Burger

CMS-9921 Simplify creation of empty folder in test fixture

The fixture is already copied into a temporary directory before each test,
so the empty directory will never exist already. If it would already exist,
mkdir() would throw an exception and the test would fail automatically.
parent 76305dea
......@@ -66,10 +66,7 @@ public class AbstractWatcherIT {
FileUtils.copyDirectory(testBundleFixture, testBundleDir);
emptyDir = new File(testBundleDir, "empty");
if (!emptyDir.exists()) {
cssDir = new File(testBundleDir, "css");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment