File tree Expand file tree Collapse file tree
src/test/kotlin/com/vk/kphpstorm/testing/infrastructure Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package com.vk.kphpstorm.testing.infrastructure
22
3+ import com.intellij.openapi.vfs.newvfs.impl.VfsRootAccess
34import com.intellij.testFramework.fixtures.BasePlatformTestCase
45import com.jetbrains.php.config.PhpLanguageLevel
56import com.jetbrains.php.config.PhpProjectConfigurationFacade
7+ import java.nio.file.Paths
68
79abstract class KphpStormTestBase () : BasePlatformTestCase() {
810
@@ -13,6 +15,8 @@ abstract class KphpStormTestBase() : BasePlatformTestCase() {
1315 override fun setUp () {
1416 super .setUp()
1517 setupLanguageLevel()
18+ val testDataAbsPath = Paths .get(testDataPath).toAbsolutePath().toString()
19+ VfsRootAccess .allowRootAccess(testRootDisposable, testDataAbsPath)
1620 }
1721
1822 private fun setupLanguageLevel () {
You can’t perform that action at this time.
0 commit comments