Skip to content

Commit 9e2dd92

Browse files
committed
Removed mocker
1 parent dfcb199 commit 9e2dd92

File tree

3 files changed

+0
-159
lines changed

3 files changed

+0
-159
lines changed

src/test/java/com/magento/idea/magento2plugin/BaseProjectTestCase.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
import com.magento.idea.magento2plugin.indexes.IndexManager;
1313
import com.magento.idea.magento2plugin.magento.packages.File;
1414
import com.magento.idea.magento2plugin.project.Settings;
15-
import com.magento.idea.magento2plugin.util.PhpBundleMocker;
1615

1716
/**
1817
* Configure test environment with Magento 2 project.
@@ -29,15 +28,6 @@ public void setUp() throws Exception {
2928
super.setUp();
3029
copyMagento2ToTestProject();
3130
enablePluginAndReindex();
32-
33-
// Mock the PhpBundle to avoid issues with missing message keys
34-
try {
35-
PhpBundleMocker.mockPhpBundle();
36-
} catch (Exception e) {
37-
// Log the exception but continue with the test
38-
System.err.println("Failed to mock PhpBundle: " + e.getMessage());
39-
e.printStackTrace();
40-
}
4131
}
4232

4333
private void copyMagento2ToTestProject() {

src/test/java/com/magento/idea/magento2plugin/util/PhpBundleMocker.java

Lines changed: 0 additions & 102 deletions
This file was deleted.

src/test/java/com/magento/idea/magento2plugin/util/ResourceBundleMock.java

Lines changed: 0 additions & 47 deletions
This file was deleted.

0 commit comments

Comments
 (0)