Skip to content

Commit

Permalink
Fixed generate:travis-yml command
Browse files Browse the repository at this point in the history
  • Loading branch information
mnapoli committed Oct 28, 2014
1 parent 5494274 commit b64e589
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/CoreConsole/TravisYmlView.php
Expand Up @@ -9,8 +9,8 @@

namespace Piwik\Plugins\CoreConsole;

use Piwik\Filesystem;
use Piwik\View;
use Symfony\Component\Console\Output\OutputInterface;
use Exception;

/**
Expand Down Expand Up @@ -242,7 +242,7 @@ private function isTargetPluginContainsPluginTests()

private function doesFolderContainPluginTests($folderPath)
{
$testFiles = array_merge(glob($folderPath . "/**/*Test.php"), glob($folderPath . "/*Test.php"));
$testFiles = Filesystem::globr($folderPath, "*Test.php");
return !empty($testFiles);
}

Expand All @@ -255,7 +255,7 @@ private function isTargetPluginContainsUITests()

private function doesFolderContainUITests($folderPath)
{
$testFiles = array_merge(glob($folderPath . "/**/*_spec.js"), glob($folderPath . "/*_spec.js"));
$testFiles = Filesystem::globr($folderPath, "*_spec.js");
return !empty($testFiles);
}

Expand Down

0 comments on commit b64e589

Please sign in to comment.