Skip to content

Commit

Permalink
Fixes the CommonsIO replacements in LR tests.
Browse files Browse the repository at this point in the history
This break creeped in sonatype#126
  • Loading branch information
cstamas committed Dec 7, 2011
1 parent 327e4ce commit 3673de8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,9 @@ public void setup()

// write a test file
File testFile = new File( repoStorageDir, testFilePath );
testFile.getParentFile().mkdirs();
org.codehaus.plexus.util.FileUtils.fileWrite( testFile, "CONTENT" );
CONTENT_TEST_FILE.getParentFile().mkdirs();
org.codehaus.plexus.util.FileUtils.fileWrite( CONTENT_TEST_FILE, "CONTENT" );

// Mocks
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ public void setup()

// write a test file
File testFile = new File( repositoryStorageDir, testFilePath );
testFile.getParentFile().mkdirs();
org.codehaus.plexus.util.FileUtils.fileWrite( testFile, "CONTENT" );

// this test expects "old" behaviour:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ public void setup()

// write a test file
File testFile = new File( repoStorageDir, testFilePath );
testFile.getParentFile().mkdirs();
org.codehaus.plexus.util.FileUtils.fileWrite( testFile, "CONTENT" );

// Mocks
Expand Down

0 comments on commit 3673de8

Please sign in to comment.