From e3a6c666e9e85fc797b779deaaf674056069c63d Mon Sep 17 00:00:00 2001 From: Anton Makeev Date: Tue, 5 Jun 2012 13:20:34 +0200 Subject: [PATCH] LH: test fixed --- .../com/intellij/history/integration/FileListeningTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/platform-tests/testSrc/com/intellij/history/integration/FileListeningTest.java b/platform/platform-tests/testSrc/com/intellij/history/integration/FileListeningTest.java index 2d65ec17ac8f..392d567377d7 100644 --- a/platform/platform-tests/testSrc/com/intellij/history/integration/FileListeningTest.java +++ b/platform/platform-tests/testSrc/com/intellij/history/integration/FileListeningTest.java @@ -69,7 +69,7 @@ public class FileListeningTest extends IntegrationTestCase { String dir2 = createDirectoryExternally("dir/subdir/subdir2"); String f2 = createFileExternally("dir/subdir/subdir2/f.txt"); - LocalFileSystem.getInstance().refresh(false); + myRoot.refresh(false, true); List changes = getVcs().getChangeListInTests().getChangesInTests().get(0).getChanges(); assertEquals(changes.toString(), 4, changes.size());