From 09bf0159076103a4f2e5557a84ef75ef5d2dbcbe Mon Sep 17 00:00:00 2001 From: Thomas Schouten Date: Sat, 14 Dec 2024 12:00:31 +0100 Subject: [PATCH] Move test file to avoid "VfsRootAccess$VfsRootAccessNotAllowedError: File accessed outside allowed roots" --- .../latex/probablebugs/LatexFileNotFoundInspectionTest.kt | 2 +- test/resources/completion/path/myOtherPicture.PNG | 0 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 test/resources/completion/path/myOtherPicture.PNG diff --git a/test/nl/hannahsten/texifyidea/inspections/latex/probablebugs/LatexFileNotFoundInspectionTest.kt b/test/nl/hannahsten/texifyidea/inspections/latex/probablebugs/LatexFileNotFoundInspectionTest.kt index fe159a676..5577fa4b5 100644 --- a/test/nl/hannahsten/texifyidea/inspections/latex/probablebugs/LatexFileNotFoundInspectionTest.kt +++ b/test/nl/hannahsten/texifyidea/inspections/latex/probablebugs/LatexFileNotFoundInspectionTest.kt @@ -40,7 +40,7 @@ class LatexFileNotFoundInspectionTest : TexifyInspectionTestBase(LatexFileNotFou } fun testValidAbsolutePathCaps() { - myFixture.configureByText(LatexFileType, """\includegraphics{$absoluteWorkingPath/test/resources/inspections/latex/filenotfound/myOtherPicture.PNG}""") + myFixture.configureByText(LatexFileType, """\includegraphics{$absoluteWorkingPath/test/resources/completion/path/myOtherPicture.PNG}""") myFixture.checkHighlighting() } diff --git a/test/resources/completion/path/myOtherPicture.PNG b/test/resources/completion/path/myOtherPicture.PNG new file mode 100644 index 000000000..e69de29bb