aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix CS in UtilsTest.phpFloran Brutel2018-03-311-1/+1
|
* Replace zataz urlFloran Brutel2018-03-303-9/+9
|
* Use https instead of http for bild.de to fix testsFloran Brutel2018-03-291-1/+1
|
* 20 Minutes is now httpsJeremy Benoist2018-02-242-2/+2
|
* Fixed testsNicolas Lœuillet2018-01-123-6/+6
|
* php-csKevin Decherf2017-12-311-1/+1
| | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* Add test to prevent regression for #3534Kevin Decherf2017-12-311-0/+20
| | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* Add missing assertion in testsJeremy Benoist2017-12-181-0/+3
|
* Fix countable in testsJeremy Benoist2017-12-181-4/+12
|
* Add missing TestCase namespaceJeremy Benoist2017-12-185-5/+10
|
* Fix typoJeremy Benoist2017-12-181-3/+3
|
* Use namespaced PHPUnit classesJeremy Benoist2017-12-1823-23/+46
|
* api: copy entry object before sending, to keep idKevin Decherf2017-12-171-0/+1
| | | | | | Workaround for https://github.com/wallabag/android-app/issues/646 Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* Add test on EntryControllerTest for #3442Kevin Decherf2017-12-132-0/+54
| | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* Fix empty title and domain_name when exception is thrown during fetchKevin Decherf2017-12-131-0/+2
| | | | | | | | | | Add a new helper to set a default title when it's empty: 1/ use basename part of entry's path, if any 2/ or use domain name Fixes #2053 Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* Fix All RSS not accessible if not logged in + TestsChristophe VERGNE2017-12-111-0/+25
|
* Merge pull request #3401 from aaa2000/migration-initialJérémy Benoist2017-11-251-6/+2
|\ | | | | Add an initial doctrine migration
| * Fix installation commandadev2017-11-211-6/+2
| |
* | Merge pull request #3431 from wallabag/disable-site-credentialsJérémy Benoist2017-11-221-0/+14
|\ \ | |/ |/| Disable controller access if feature disabled
| * Disable controller access if feature disabledJeremy Benoist2017-11-221-0/+14
| | | | | | | | If `restricted_access` is disabled, accessing `/site-credentials/` must be disabled.
* | Merge pull request #3425 from wallabag/add-setting-for-headersNicolas Lœuillet2017-11-212-1/+5
|\| | | | | Added internal setting to enable/disable headers storage
| * Define storeArticleHeaders false by defaultJeremy Benoist2017-11-213-16/+17
| | | | | | | | | | Fix tests which must use `$storeArticleHeaders`. Fix CS
| * Added internal setting to enable/disable headers storageNicolas Lœuillet2017-11-202-13/+16
| |
* | CSJeremy Benoist2017-11-213-3/+3
| |
* | Fix phpcsKevin Decherf2017-11-193-19/+19
| | | | | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* | Improve EntryRestControllerTest for origin_urlKevin Decherf2017-11-191-0/+55
| | | | | | | | | | | | | | | | Ensure that origin_url is initially null Ensure patching entry with origin_url='' Ensure patching entry with origin_url=null Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* | Update EntryControllerTest to handle origin_urlKevin Decherf2017-11-191-2/+38
| | | | | | | | | | | | | | Set an origin_url in testEditUpdate Test origin_url deletion in testEditRemoveOriginUrl Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* | Add some tests for OriginUrl in EntryRestControllerKevin Decherf2017-11-191-0/+73
| | | | | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* | Twig: add removeSchemeAndWww filterKevin Decherf2017-11-191-0/+27
|/ | | | | | | | This twig filter removes scheme (only http and https are supported) and pass the result to removeWww filter to also remove 'www.' at the beginning of an url. Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* Fix phpcsadev2017-11-111-1/+1
|
* Fix testsadev2017-11-112-6/+7
|
* Merge pull request #3362 from sviande/fix_3361_api_warningJérémy Benoist2017-10-181-0/+7
|\ | | | | Fix #3361 check type for tags in entry repository
| * CSJeremy Benoist2017-10-121-1/+1
| |
| * Fix #3361 add testSébastien Viande2017-10-121-0/+7
| |
* | Replace kernel.root_dir by kernel.project_dirNicolas Hart2017-10-141-2/+2
|/ | | | | kernel.root_dir and Kernel::getRootDir() are deprecated since Symfony 3.3. See https://symfony.com/blog/new-in-symfony-3-3-a-simpler-way-to-get-the-project-root-directory and https://github.com/symfony/symfony/blob/3.3/UPGRADE-3.3.md#httpkernel for more information.
* Fix MondeDiplo https urlJeremy Benoist2017-10-101-1/+1
|
* Jump to Symfony 3.3 & update others depsJeremy Benoist2017-10-0910-9/+24
| | | | Also update tests urls
* Fix testsJeremy Benoist2017-09-061-1/+2
|
* Multiple tag search was broken from APIJeremy Benoist2017-09-063-4/+7
| | | | | | | | | | First, the setParameter() were done on the same parameter which in fact just duplicated the condition in the SQL query (like `where t.label = 'test' and t.label = 'test'`. Changed the parameter doesn't help because the query was then wrong. Changing the way to match associated tags for an entry and it worked.
* Merge pull request #3139 from Kdecherf/2502-tag-caseJérémy Benoist2017-09-033-4/+6
|\ | | | | Ignore tag's case
| * Fix testsJeremy Benoist2017-08-271-1/+1
| | | | | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
| * Tag: render tags case-insensitive by storing them in lowercaseKevin Decherf2017-08-272-3/+5
| | | | | | | | | | | | Fixes #2502 Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* | Set a starred_at field when an entry is starred.François D2017-08-251-0/+5
|/ | | | | | | | This date is used to sort starred entries. Can not use Entry::timestamps method otherwise starred_at will be updated each time entry is updated. Add an updateStar method into Entry class A migration script has been added in order to set starred_at field.
* Add reload entry commandNicolas Hart2017-08-211-0/+115
|
* add search argument and limit option to list users commandNicolas Hart2017-07-311-1/+50
|
* Add list user commandNicolas Hart2017-07-301-0/+26
|
* Better rendering for all core commandsNicolas Hart2017-07-293-6/+8
|
* Add a test for updatePublishedAtJeremy Benoist2017-07-241-0/+34
| | | | | | | To avoid error when a content is re-submitted and it previously add a published date. Also, fix the `testPostSameEntry`
* Put the final URL in data testJeremy Benoist2017-07-241-1/+1
|
* Revert client_credentials grant typesJeremy Benoist2017-07-081-21/+1
|