forked from wallabag/wallabag
Move test files directly under tests/ directory
This commit is contained in:
@ -200,7 +200,7 @@
|
|||||||
},
|
},
|
||||||
"autoload-dev": {
|
"autoload-dev": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
"Tests\\": "tests/"
|
"Tests\\Wallabag\\CoreBundle\\": "tests/"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"tests/functions.php"
|
"tests/functions.php"
|
||||||
|
|||||||
@ -73,4 +73,4 @@ parameters:
|
|||||||
-
|
-
|
||||||
message: "#^Call to an undefined method DOMNode\\:\\:getAttribute\\(\\)\\.$#"
|
message: "#^Call to an undefined method DOMNode\\:\\:getAttribute\\(\\)\\.$#"
|
||||||
count: 1
|
count: 1
|
||||||
path: tests/Wallabag/CoreBundle/Controller/FeedControllerTest.php
|
path: tests/Controller/FeedControllerTest.php
|
||||||
|
|||||||
@ -64,7 +64,7 @@ class ImportCommandTest extends WallabagCoreTestCase
|
|||||||
$tester = new CommandTester($command);
|
$tester = new CommandTester($command);
|
||||||
$tester->execute([
|
$tester->execute([
|
||||||
'username' => 'admin',
|
'username' => 'admin',
|
||||||
'filepath' => $application->getKernel()->getContainer()->getParameter('kernel.project_dir') . '/tests/Wallabag/CoreBundle/fixtures/Import/wallabag-v2-read.json',
|
'filepath' => $application->getKernel()->getContainer()->getParameter('kernel.project_dir') . '/tests/fixtures/Import/wallabag-v2-read.json',
|
||||||
'--importer' => 'v2',
|
'--importer' => 'v2',
|
||||||
]);
|
]);
|
||||||
|
|
||||||
@ -83,7 +83,7 @@ class ImportCommandTest extends WallabagCoreTestCase
|
|||||||
$tester = new CommandTester($command);
|
$tester = new CommandTester($command);
|
||||||
$tester->execute([
|
$tester->execute([
|
||||||
'username' => $this->getLoggedInUserId(),
|
'username' => $this->getLoggedInUserId(),
|
||||||
'filepath' => $application->getKernel()->getContainer()->getParameter('kernel.project_dir') . '/tests/Wallabag/CoreBundle/fixtures/Import/wallabag-v2-read.json',
|
'filepath' => $application->getKernel()->getContainer()->getParameter('kernel.project_dir') . '/tests/fixtures/Import/wallabag-v2-read.json',
|
||||||
'--useUserId' => true,
|
'--useUserId' => true,
|
||||||
'--importer' => 'v2',
|
'--importer' => 'v2',
|
||||||
]);
|
]);
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user