diff options
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/java/org/onap/aai/babel/TestAuthFileWatcher.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/java/org/onap/aai/babel/TestAuthFileWatcher.java b/src/test/java/org/onap/aai/babel/TestAuthFileWatcher.java index e213e15..4efb03e 100644 --- a/src/test/java/org/onap/aai/babel/TestAuthFileWatcher.java +++ b/src/test/java/org/onap/aai/babel/TestAuthFileWatcher.java @@ -74,6 +74,7 @@ public class TestAuthFileWatcher { } catch (AAIAuthException e) { assertThat(e.getMessage(), containsString("Error processing Auth policy file")); } + file.deleteOnExit(); Mockito.when(mockFile.lastModified()).thenReturn(1000L); task.run(); } |