File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/pl/projectspace/idea/plugins/php/atoum/actions Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ public class Utils {
1717
1818 public static Boolean isClassAtoumTest (PhpClass checkedClass )
1919 {
20- return checkedClass .getNamespaceName ().contains (getTestsNamespaceSuffix ());
20+ return checkedClass .getNamespaceName ().toLowerCase (). contains (getTestsNamespaceSuffix (). toLowerCase ());
2121 }
2222
2323 @ Nullable
@@ -61,7 +61,7 @@ public static PhpClass locateTestedClass(Project project, PhpClass testClass) {
6161 @ Nullable
6262 public static Collection <PhpClass > locateTestedClasses (Project project , PhpClass testClass ) {
6363 String testClassNamespaceName = testClass .getNamespaceName ();
64- String testedClassname = testClassNamespaceName .replace (getTestsNamespaceSuffix (), "" ) + testClass .getName ();
64+ String testedClassname = testClassNamespaceName .toLowerCase (). replace (getTestsNamespaceSuffix (). toLowerCase (), "" ) + testClass .getName ();
6565 return locatePhpClasses (project , testedClassname );
6666 }
6767
You can’t perform that action at this time.
0 commit comments