mirror of
https://github.com/wallabag/wallabag.git
synced 2025-01-03 13:28:41 +00:00
Move test files directly under tests/ directory
This commit is contained in:
parent
a37b385c23
commit
24da70e338
117 changed files with 4 additions and 4 deletions
|
@ -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
Loading…
Reference in a new issue