Skip to content

Commit f73d170

Browse files
committed
Use absolute path for directory input in test setup
Changed the test to use `absolutePath` instead of `path` for the temporary project directory. This ensures compatibility and correctness when setting up the test environment.
1 parent d1dd93e commit f73d170

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/kotlin/com/magento/idea/magento2plugin/actions/content/MarkDirectoryAsMagentoRootTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ class MarkDirectoryAsMagentoRootTest {
109109
comboBox.keyboard {
110110
hotKey(VK_CONTROL, VK_A) // Select all text
111111
key(VK_DELETE) // Delete selected text
112-
enterText(tempProjectDir.path)
112+
enterText(tempProjectDir.absolutePath)
113113
}
114114

115115
button("OK").click()

0 commit comments

Comments
 (0)