aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php
Commit message (Collapse)AuthorAgeFilesLines
* tests: add a NetworkCalls group for tests making network callsKevin Decherf2020-04-251-5/+21
| | | | | | | Excluding this group can decrease the run time of tests during development. Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* Added mass actions for Material design in list viewNicolas Lœuillet2020-04-241-0/+77
|
* Fixed unit testsNicolas Lœuillet2020-04-221-2/+2
|
* Fix testsJeremy Benoist2020-03-311-1/+1
|
* Fix createdAt date range filterKevin Decherf2020-03-221-6/+18
| | | | | | | | | | | - hiddenName has been disabled in order to fix the missing date range values when using the material theme - data format has been changed to 'Y-m-d' in order to comply with the browser date input default format - tests: date() and strtotime have been replaced with DateTime-related objects Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* tests: replace baggy theme used in EntryController testsKevin Decherf2020-03-221-45/+32
| | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* Fix testsJeremy Benoist2019-11-131-2/+2
|
* Fix tests & update depsJeremy Benoist2019-10-221-1/+1
| | | | | | | | | | | | | | | | | | - Updating twig/twig (v2.12.0 => v2.12.1) - Updating symfony/mime (v4.3.4 => v4.3.5) - Updating friendsofsymfony/rest-bundle (2.5.0 => 2.6.0) - Updating j0k3r/graby-site-config (1.0.91 => 1.0.93) - Updating monolog/monolog (1.24.0 => 1.25.1) - Updating simplepie/simplepie (1.5.2 => 1.5.3) - Updating symfony/http-client-contracts (v1.1.6 => v1.1.7) - Updating symfony/http-client (v4.3.4 => v4.3.5) - Updating nette/utils (v3.0.1 => v3.0.2) - Updating phpstan/phpstan (0.11.17 => 0.11.18) - Updating zendframework/zend-code (3.3.2 => 3.4.0) - Updating php-amqplib/php-amqplib (v2.10.0 => v2.10.1) - Updating beberlei/assert (v3.2.3 => v3.2.6) - Updating zendframework/zend-diactoros (2.1.3 => 2.1.5) - Updating sentry/sentry (2.2.1 => 2.2.2)
* Update test urlJeremy Benoist2019-06-181-2/+2
| | | | | The previous URL started to report title as `snippet intertitre` instead of the previous title which contains Google. It looks like a bug on the website side. Instead of updating the test to match that new title, I prefer to use a more recent url instead.
* Use two indexes instead of one for hashed urlsJeremy Benoist2019-06-051-0/+3
| | | | | When using `OR` in a where clause, a composite index can't be used. We should use a `UNION` to take advantages of it. Instead, create 2 indexes on each hashed urls and make 2 queries to find an url. It'll be faster than the previous solution.
* Added given_url in entry tableNicolas Lœuillet2019-05-291-1/+35
| | | | | | | | | | - Added index on entry table for given_url field - Fix tests: The previous `bit.ly` url redirected to doc.wallabag but that url doesn't exist in the fixtures. I used our own internal "redirector" to create a redirect to an url which exist in the fixtures. Also, updating current migration to use the new `WallabagMigration`.
* Merge remote-tracking branch 'origin/master' into 2.4Jeremy Benoist2019-05-271-1/+1
|\
| * Fix testJeremy Benoist2019-05-271-1/+1
| |
| * FIx unrelated failing testJeremy Benoist2019-04-231-1/+1
| |
* | Fix tests & cs & migrationJeremy Benoist2019-04-261-1/+1
| |
* | Use only one method to randomizeJeremy Benoist2019-01-191-0/+26
| | | | | | | | Instead of one per type, one for all is ok.
* | Enable PHPStanJeremy Benoist2019-01-181-6/+5
| | | | | | | | | | - Fix error for level 0 & 1 (level 7 has 699 errors...) - Add `updated_at` to site_credential (so the `timestamps()` method applies correctly)
* | Merge remote-tracking branch 'origin/master' into 2.4Jeremy Benoist2018-11-251-3/+2
|\| | | | | | | | | | | | | | | # Conflicts: # web/wallassets/baggy.js # web/wallassets/manifest.json # web/wallassets/material.css # web/wallassets/material.js
| * Prepare 2.3.4 releaseJeremy Benoist2018-11-231-3/+2
| |
* | Jump to Symfony 3.4Jeremy Benoist2018-10-041-5/+7
| | | | | | | | | | | | | | Thanks to the BC compatibility, almost nothing have to be changed. All changes are related to new bundle version of: - SensioFrameworkExtraBundle - DoctrineFixturesBundle
* | Entry: add archived_at property and updateArchived methodSébastien Viande2018-09-211-4/+4
|/
* Liberation goes httpsJeremy Benoist2018-09-211-1/+2
|
* Fix testsJeremy Benoist2018-09-071-4/+4
|
* php-cs-fixerKevin Decherf2018-09-051-1/+1
| | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* Removing failing test from TravisJeremy Benoist2018-08-191-4/+0
|
* Fix testsJeremy Benoist2018-06-061-5/+5
|
* Replace zataz urlFloran Brutel2018-03-301-3/+3
|
* Use https instead of http for bild.de to fix testsFloran Brutel2018-03-291-1/+1
|
* Fixed testsNicolas Lœuillet2018-01-121-2/+2
|
* 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>
* Fix typoJeremy Benoist2017-12-181-3/+3
|
* Add test on EntryControllerTest for #3442Kevin Decherf2017-12-131-0/+49
| | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* Merge pull request #3425 from wallabag/add-setting-for-headersNicolas Lœuillet2017-11-211-0/+3
|\ | | | | Added internal setting to enable/disable headers storage
| * Added internal setting to enable/disable headers storageNicolas Lœuillet2017-11-201-0/+3
| |
* | Fix phpcsKevin Decherf2017-11-191-1/+1
| | | | | | | | 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>
* Fix phpcsadev2017-11-111-1/+1
|
* Fix testsadev2017-11-111-5/+6
|
* Fix MondeDiplo https urlJeremy Benoist2017-10-101-1/+1
|
* Jump to Symfony 3.3 & update others depsJeremy Benoist2017-10-091-2/+2
| | | | Also update tests urls
* Put the final URL in data testJeremy Benoist2017-07-241-1/+1
|
* Fix testsJeremy Benoist2017-07-031-4/+5
|
* Add a real configuration for CS-FixerJeremy Benoist2017-07-011-101/+101
|
* Merge pull request #2683 from wallabag/credentials-in-dbJérémy Benoist2017-06-201-0/+53
|\ | | | | Store credentials in DB
| * Fix reviewsThomas Citharel2017-06-201-1/+1
| | | | | | | | | | | | | | | | Encrypt username too Redirect to list after saving credentials Fix typos Signed-off-by: Thomas Citharel <tcit@tcit.fr>
| * Crypt site credential passwordJeremy Benoist2017-06-201-1/+1
| |
| * Add a live test for restricted articleJeremy Benoist2017-06-201-0/+53
| | | | | | | | | | | | | | It is not aimed to test if we can get the full article (since we aren't using real login/password) but mostly to test the full work (with authentication, etc.) Do not clean fixtured to avoid SQLite to re-use id for entry tag relation 😓
* | Add isPublic filter on entriesJeremy Benoist2017-06-101-0/+14
|/
* Merge pull request #3173 from wallabag/domain-name-paramJérémy Benoist2017-06-101-1/+1
|\ | | | | remove craueconfig domain name setting and add a proper one in parame…