MAPG-199 move test views to another folder to prevent code analysis errors

This commit is contained in:
bence committed 2020-07-05 23:18:57 +02:00
1 parent af98d71924
commit 9e5f7405d1
10 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -39,7 +39,7 @@ class LinkViewCommand extends Command
$view = substr($file->getPath(), $folderLength) . '/' . $file->getBasename('.php');
if (strpos($view, 'templates') === 0) {
if (strpos($view, 'templates') === 0 || strpos($view, 'tests') === 0) {
continue;
}
+1 -1
View File
@@ -6,7 +6,7 @@ use PHPUnit\Framework\TestCase;
final class ParserTest extends TestCase
{
const TEST_VIEWS_PATH = __DIR__ . '/../assets/views';
const TEST_VIEWS_PATH = __DIR__ . '/../../views/tests';
public function testCanParseViewWithoutExtends(): void
{
File renamed without changes.
File renamed without changes.
File renamed without changes.