Skip to content

Commit

Permalink
add sort file in test
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelroecker committed Jan 3, 2016
1 parent 9d85992 commit 170dca2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/GlValidatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class GlValidatorTest extends \PHPUnit_Framework_TestCase
public function testHtml()
{
$finder = new Finder();
$files = $finder->files()->in(__DIR__ . "/entry/");
$files = $finder->files()->sortByName()->in(__DIR__ . "/entry/");
$files = [$files, __DIR__ . "/glicer.css", __DIR__ . "/glicer.html"];

$validator = new GlW3CValidator(__DIR__ . "/result", URL_HTML_VALIDATOR, URL_CSS_VALIDATOR);
Expand Down Expand Up @@ -82,7 +82,7 @@ function (SplFileInfo $file) use (&$count) {
public function testHtmlCss()
{
$finder = new Finder();
$files = $finder->files()->in(__DIR__ . "/entry/");
$files = $finder->files()->sortByName()->in(__DIR__ . "/entry/");
$files = [$files, __DIR__ . "/glicer.css", __DIR__ . "/glicer.html"];

$validator = new GlW3CValidator(__DIR__ . "/result", URL_HTML_VALIDATOR, URL_CSS_VALIDATOR);
Expand Down

0 comments on commit 170dca2

Please sign in to comment.