Commit 76305dea authored by Oscar Scholten's avatar Oscar Scholten

CMS-9921: adding creation of empty folder to test fixture setup

parent c45a1986
/*
* Copyright 2014-2015 Hippo B.V. (http://www.onehippo.com)
* Copyright 2014-2016 Hippo B.V. (http://www.onehippo.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......@@ -23,7 +23,6 @@ import org.junit.After;
import org.junit.Before;
import org.junit.Rule;
import org.junit.rules.TemporaryFolder;
import org.onehippo.cms7.services.webfiles.util.WatchFilesUtils;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
......@@ -67,6 +66,9 @@ public class AbstractWatcherIT {
FileUtils.copyDirectory(testBundleFixture, testBundleDir);
emptyDir = new File(testBundleDir, "empty");
if (!emptyDir.exists()) {
emptyDir.mkdir();
}
assertTrue(emptyDir.isDirectory());
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