Move XEEE test data to add data for other readers

This commit is contained in:
Alexander Kurilo 2016-10-17 00:12:26 +03:00 committed by Adrien Crivelli
parent 4b4831be07
commit edb3974a0d
9 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ class XEEValidatorTest extends \PHPUnit_Framework_TestCase
public function providerInvalidXML() public function providerInvalidXML()
{ {
$tests = []; $tests = [];
foreach (glob('data/Reader/XEETestInvalid*.xml') as $file) { foreach (glob(__DIR__ . '/../../data/Reader/XEE/XEETestInvalid*.xml') as $file) {
$tests[] = [realpath($file), true]; $tests[] = [realpath($file), true];
} }
@ -41,7 +41,7 @@ class XEEValidatorTest extends \PHPUnit_Framework_TestCase
public function providerValidXML() public function providerValidXML()
{ {
$tests = []; $tests = [];
foreach (glob('data/Reader/XEETestValid*.xml') as $file) { foreach (glob(__DIR__ . '/../../data/Reader/XEE/XEETestValid*.xml') as $file) {
$tests[] = [realpath($file), file_get_contents($file)]; $tests[] = [realpath($file), file_get_contents($file)];
} }