From baa7caa860e3b1c3711fcece9123785f86a17be1 Mon Sep 17 00:00:00 2001 From: Yassine Guedidi Date: Sun, 8 Mar 2026 12:39:18 +0100 Subject: [PATCH] Rename tests namespace to Wallabag\Tests --- composer.json | 4 ++-- tests/Command/CleanDuplicatesCommandTest.php | 4 ++-- tests/Command/ExportCommandTest.php | 4 ++-- tests/Command/GenerateUrlHashesCommandTest.php | 4 ++-- tests/Command/Import/ImportCommandTest.php | 4 ++-- tests/Command/Import/RedisWorkerCommandTest.php | 4 ++-- tests/Command/Import/UrlCommandTest.php | 4 ++-- tests/Command/InstallCommandTest.php | 4 ++-- tests/Command/ListUserCommandTest.php | 4 ++-- tests/Command/ReloadEntryCommandTest.php | 4 ++-- tests/Command/ShowUserCommandTest.php | 4 ++-- tests/Command/TagAllCommandTest.php | 4 ++-- tests/Command/UpdatePicturesPathCommandTest.php | 4 ++-- tests/Consumer/AMQPEntryConsumerTest.php | 2 +- tests/Consumer/RedisEntryConsumerTest.php | 2 +- tests/Controller/AnnotationControllerTest.php | 4 ++-- tests/Controller/Api/ConfigRestControllerTest.php | 2 +- tests/Controller/Api/DeveloperControllerTest.php | 4 ++-- tests/Controller/Api/EntryRestControllerTest.php | 2 +- tests/Controller/Api/SearchRestControllerTest.php | 2 +- tests/Controller/Api/TagRestControllerTest.php | 2 +- tests/Controller/Api/TaggingRuleRestControllerTest.php | 2 +- tests/Controller/Api/UserRestControllerTest.php | 2 +- tests/Controller/Api/WallabagApiTestCase.php | 2 +- tests/Controller/Api/WallabagRestControllerTest.php | 2 +- tests/Controller/ConfigControllerTest.php | 4 ++-- tests/Controller/EntryControllerTest.php | 4 ++-- tests/Controller/ExportControllerTest.php | 4 ++-- tests/Controller/FeedControllerTest.php | 4 ++-- tests/Controller/IgnoreOriginInstanceRuleControllerTest.php | 4 ++-- tests/Controller/Import/ChromeControllerTest.php | 4 ++-- tests/Controller/Import/DeliciousControllerTest.php | 4 ++-- tests/Controller/Import/ElcuratorControllerTest.php | 4 ++-- tests/Controller/Import/FirefoxControllerTest.php | 4 ++-- tests/Controller/Import/ImportControllerTest.php | 4 ++-- tests/Controller/Import/InstapaperControllerTest.php | 4 ++-- tests/Controller/Import/OmnivoreControllerTest.php | 4 ++-- tests/Controller/Import/PinboardControllerTest.php | 4 ++-- tests/Controller/Import/PocketControllerTest.php | 4 ++-- tests/Controller/Import/PocketCsvControllerTest.php | 4 ++-- tests/Controller/Import/PocketHtmlControllerTest.php | 4 ++-- tests/Controller/Import/ReadabilityControllerTest.php | 4 ++-- tests/Controller/Import/ShaarliControllerTest.php | 4 ++-- tests/Controller/Import/WallabagV1ControllerTest.php | 4 ++-- tests/Controller/Import/WallabagV2ControllerTest.php | 4 ++-- tests/Controller/SecurityControllerTest.php | 4 ++-- tests/Controller/SettingsControllerTest.php | 4 ++-- tests/Controller/SiteCredentialControllerTest.php | 4 ++-- tests/Controller/StaticControllerTest.php | 4 ++-- tests/Controller/TagControllerTest.php | 4 ++-- tests/Controller/UserControllerTest.php | 4 ++-- tests/Entity/EntryTest.php | 4 ++-- tests/Event/Listener/AuthenticationFailureListenerTest.php | 2 +- tests/Event/Listener/CreateConfigListenerTest.php | 2 +- tests/Event/Listener/LocaleListenerTest.php | 2 +- tests/Event/Listener/UserLocaleListenerTest.php | 2 +- tests/Event/Subscriber/TablePrefixSubscriberTest.php | 2 +- tests/Form/DataTransformer/StringToListTransformerTest.php | 2 +- tests/Helper/ContentProxyTest.php | 2 +- tests/Helper/CryptoProxyTest.php | 2 +- tests/Helper/DownloadImagesTest.php | 2 +- tests/Helper/RedirectTest.php | 2 +- tests/Helper/RuleBasedIgnoreOriginProcessorTest.php | 2 +- tests/Helper/RuleBasedTaggerTest.php | 2 +- tests/Helper/TagsAssignerTest.php | 2 +- tests/HttpClient/AuthenticatorTest.php | 2 +- tests/Import/ChromeImportTest.php | 2 +- tests/Import/FirefoxImportTest.php | 2 +- tests/Import/ImportChainTest.php | 2 +- tests/Import/ImportCompilerPassTest.php | 2 +- tests/Import/InstapaperImportTest.php | 2 +- tests/Import/PocketCsvImportTest.php | 2 +- tests/Import/PocketHtmlImportTest.php | 2 +- tests/Import/PocketImportTest.php | 2 +- tests/Import/ReadabilityImportTest.php | 2 +- tests/Import/ShaarliImportTest.php | 2 +- tests/Import/WallabagV1ImportTest.php | 2 +- tests/Import/WallabagV2ImportTest.php | 2 +- tests/Mailer/AuthCodeMailerTest.php | 2 +- tests/ParamConverter/UsernameFeedTokenConverterTest.php | 2 +- tests/Security/Voter/AdminVoterTest.php | 2 +- tests/Security/Voter/AnnotationVoterTest.php | 2 +- tests/Security/Voter/EntryVoterTest.php | 2 +- tests/Security/Voter/IgnoreOriginInstanceRuleVoterTest.php | 2 +- tests/Security/Voter/IgnoreOriginUserRuleVoterTest.php | 2 +- tests/Security/Voter/MainVoterTest.php | 2 +- tests/Security/Voter/SiteCredentialVoterTest.php | 2 +- tests/Security/Voter/TagVoterTest.php | 2 +- tests/Security/Voter/TaggingRuleVoterTest.php | 2 +- tests/Security/Voter/UserVoterTest.php | 2 +- tests/SiteConfig/ArraySiteConfigBuilderTest.php | 2 +- tests/SiteConfig/GrabySiteConfigBuilderTest.php | 4 ++-- tests/SiteConfig/LoginFormAuthenticatorTest.php | 2 +- tests/SiteConfig/SiteConfigTest.php | 2 +- tests/Tools/UtilsTest.php | 2 +- tests/Twig/WallabagExtensionTest.php | 2 +- tests/WallabagTestCase.php | 2 +- 97 files changed, 140 insertions(+), 140 deletions(-) diff --git a/composer.json b/composer.json index fbc835fef..6b2693d5f 100644 --- a/composer.json +++ b/composer.json @@ -214,8 +214,8 @@ }, "autoload-dev": { "psr-4": { - "Tests\\Wallabag\\": "tests/", - "Wallabag\\DataFixtures\\": "fixtures/" + "Wallabag\\DataFixtures\\": "fixtures/", + "Wallabag\\Tests\\": "tests/" }, "files": [ "tests/functions.php" diff --git a/tests/Command/CleanDuplicatesCommandTest.php b/tests/Command/CleanDuplicatesCommandTest.php index 3129d0047..cb0d8e9d5 100644 --- a/tests/Command/CleanDuplicatesCommandTest.php +++ b/tests/Command/CleanDuplicatesCommandTest.php @@ -1,13 +1,13 @@