1
0
Fork 0

Move validation testcases out of frameworks folder

pull/357/head
Rob Lourens 2017-06-07 14:01:19 -07:00
parent b2a849d6d2
commit 586b0d6baf
137 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ class ValidationTest extends TestCase
public function validationTestProvider()
{
$testProviderArray = array();
$testCasesDir = realpath(__DIR__ . '/../../validation/frameworks/_cases');
$testCasesDir = realpath(__DIR__ . '/cases');
$iterator = new RecursiveDirectoryIterator($testCasesDir);
$disabled = json_decode(file_get_contents(__DIR__ . '/disabled.json'));
@ -100,7 +100,7 @@ class ValidationTest extends TestCase
);
// Turn references into relative paths
$testCasesDir = realpath(__DIR__ . '/../../validation/frameworks/_cases');
$testCasesDir = realpath(__DIR__ . '/cases');
foreach ($refsAndDefs['references'] as $key => $list) {
$fixedPathRefs = array_map(function ($ref) use ($testCasesDir) {
return str_replace($testCasesDir, '.', $ref);

Some files were not shown because too many files have changed in this diff Show More