We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7842bf commit effb0beCopy full SHA for effb0be
tests/com/magento/idea/magento2plugin/actions/generation/generator/BaseGeneratorTestCase.java
@@ -28,7 +28,8 @@ protected void assertGeneratedFileIsCorrect(
28
String expectedDirectory,
29
PsiFile resultFile) {
30
31
- assertEquals(expectedDirectory, resultFile.getContainingDirectory().getVirtualFile().getPresentableUrl());
+ assertTrue(resultFile.getContainingDirectory().getVirtualFile().getPresentableUrl()
32
+ .endsWith(expectedDirectory));
33
assertEquals(expectedFile.getText(), resultFile.getText());
34
assertEquals(expectedFile.getName(), resultFile.getName());
35
}
0 commit comments