Fix exception from ProjectResolutionFacade when switching some definition off in settings

Fix AbstractScriptDefinitionsOrderTest
Remove updating script dependencies in test because in affects cache behavior: script will be already up to date when highlighting is called for the second time
This commit is contained in:
Natalia Selezneva
2019-09-06 15:58:49 +03:00
parent 3ad7f516be
commit a62863128c
2 changed files with 4 additions and 2 deletions
@@ -100,6 +100,8 @@ class ScriptConfigurationManagerImpl internal constructor(private val project: P
* Start re-highlighting for opened scripts
*/
override fun clearConfigurationCachesAndRehighlight() {
ScriptDependenciesModificationTracker.getInstance(project).incModificationCount()
clearAndRehighlight()
}