aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Tests/Controller/EntryControllerTest.php
Commit message (Collapse)AuthorAgeFilesLines
* Jump to Symfony 3.1Jeremy Benoist2016-06-221-665/+0
|
* Merge pull request #2122 from wallabag/fix-tags-deletionNicolas Lœuillet2016-05-311-3/+31
|\ | | | | Fix the deletion of Tags/Entries relation when delete an entry
| * Change ManyToMany between entry & tagJeremy Benoist2016-05-311-3/+31
| | | | | | | | | | | | | | | | | | | | | | | | Following https://gist.github.com/Ocramius/3121916 Be sure to remove the related entity when removing an entity. Let say you have Entry -> EntryTag -> Tag. If you remove the entry: - before that commit, the EntryTag will stay (at least using SQLite). - with that commit, the related entity is removed
* | Add unread filter test to EntryControllerTestDaniel Bartram2016-05-091-0/+18
|/ | | | | | Add a new test to the EntryControllerTest collection which checks that only entries which have not been archived (and are treated as "unread") are retrieved.
* Fix testsNicolas Lœuillet2016-04-241-2/+2
|
* Merge pull request #1916 from wallabag/cleanupNicolas Lœuillet2016-04-131-36/+36
|\ | | | | Convert array + phpDoc
| * Convert array + phpDocJeremy Benoist2016-04-121-36/+36
| | | | | | | | Thanks for https://github.com/thomasbachem/php-short-array-syntax-converter
* | Restore old behavior for OutOfRangeCurrentPageExceptionNicolas Lœuillet2016-04-121-1/+2
| |
* | Fix testsNicolas Lœuillet2016-04-121-1/+1
| |
* | Improve pagination when user has lot of entriesNicolas Lœuillet2016-04-121-2/+1
|/ | | | | Fix #1905 * Usage of whiteoctober/WhiteOctoberPagerfantaBundle
* Improve test failure readabilityJeremy Benoist2016-03-201-6/+9
| | | | | If the response content isn't the one expected, instead of checking into the whole DOM (with node tag, etc ..) we only check the text. So if it fails, phpunit will display only the text, not all node tag. It'll be easier to read.
* Convert english translation fileJeremy Benoist2016-03-201-8/+8
| | | | | | | - convert english translation to translate key - remove baggy template for login (never used since user isn't logged in and it'll use the default theme: material) - fix tests about text in response (now checking translation key instead of translated text) - remove all ugly `<div class="hidden">{{ form_rest(form) }}</div>`
* Fix #1551 - Redirect to the last page when current page is out of rangeMaxime LECLERCQ2016-02-191-0/+11
|
* Fix bad type after using findByUrlAndUserIdJeremy Benoist2016-01-211-3/+28
| | | | | It returns an object since few commits this part of (untested) code still use an array. Also add test for that part of code.
* Fix `findOneByUrl` side effect in testsJeremy Benoist2016-01-151-10/+10
| | | | Fix #1566
* Quickstart for beginnersNicolas Lœuillet2016-01-151-4/+34
|
* Ability to reload an entryJeremy Benoist2015-12-301-0/+32
| | | | | | Could be useful when we want to update the content or when the content failed to be fetched. Fix #1503
* Don't redirect to the content page after deletionJeremy Benoist2015-12-281-0/+46
| | | | | | Fix #1512 We generate the url of the removed content and compare it to the referer url. If they matche, we redirect user to the homepage otherwise to the referer url.
* Assert that the tag has is the good oneKévin Gomez2015-11-161-1/+4
|
* Add a quick testKévin Gomez2015-11-131-0/+35
|
* CSJeremy Benoist2015-11-071-1/+1
|
* Re-enable test on doctrine commandJeremy Benoist2015-11-071-0/+6
| | | | | | It will slow down the whole test suite (because it'll use doctrine command). Remove unecessary `KernelTestCase`. Also rename `AbstractControllerTest` to `WallabagApiTestCase` for consistency.
* implement bookmarkletNicolas Lœuillet2015-10-081-0/+25
|
* french translationNicolas Lœuillet2015-10-011-1/+0
|
* Fix tests for allJeremy Benoist2015-09-281-11/+13
|
* Fix Postgres testsJeremy Benoist2015-09-281-19/+13
|
* Entries filter on languageJeremy Benoist2015-09-231-0/+23
| | | | + updated deps
* Merge pull request #1418 from wallabag/v2-previewpicture-filterJeremy Benoist2015-09-131-0/+13
|\ | | | | filter for entries with previewPicture
| * add test for previewPicture filterNicolas Lœuillet2015-09-131-0/+13
| |
* | Fix testsJeremy Benoist2015-09-121-3/+3
|/ | | | | | | Ensure that created use during install command will always be unique. We assume that the install command must be run to initialize a wallabag instance. NEVER to add more user. Also, use a better way to retrieve the real name of the database and not the one defined in parameters.yml (which isn't the same for test envi because the dbname isn't defined in parameters.yml but directly in config_test.yml)
* Add test for same day filterJeremy Benoist2015-08-231-0/+9
|
* filters: add test for status filter and adapt other tests resultsNicolas Lœuillet2015-08-211-1/+30
|
* CSJeremy Benoist2015-08-201-6/+5
| | | | We shouldn't forget to run `php-cs-fixer` time to time
* add filter on domain nameNicolas Lœuillet2015-08-191-1/+23
|
* add testNicolas Lœuillet2015-08-181-1/+30
|
* add testNicolas Lœuillet2015-08-171-0/+22
|
* store estimated reading time / filters on reading timeNicolas Lœuillet2015-08-121-0/+19
|
* Adds pagerfanta paginator everywhere, modifies article routing. Change API ↵Francois Gravelaine2015-07-281-2/+2
| | | | for is_starred and is_archived
* Add basic title editionJeremy Benoist2015-06-021-0/+48
| | | | | Fix #218 I mean basic, because there is no javascript at all. It could be a nice edit-in-place. But for the moment, it is simple.
* Move API stuff in ApiBundleJeremy2015-04-011-2/+2
|
* Use lemonde instead of mailjetJeremy2015-03-311-2/+2
| | | | | | Mailjet seems to be laggy, hope that LeMonde will be more reliable in the future. @see https://travis-ci.org/wallabag/wallabag/jobs/56246231
* remove isDeleted flagNicolas Lœuillet2015-03-061-6/+3
|
* Use a form type for entryJeremy2015-02-161-1/+1
|
* Avoid user to see other entriesJeremy2015-02-101-0/+21
| | | | hehe :)
* Add more tests on Entry controllerJeremy2015-02-101-14/+77
| | | | Also add more fixtures
* Add some fixturesJeremy2015-02-081-9/+29
| | | | | | Improve test, so user can login Fix some leftJoin Cleanup EntryController
* Add some tests on EntryControllerJeremy2015-02-071-1/+78
| | | | Also, create database schema on test initialisation
* Tests are working againJeremy2015-01-311-2/+1
|
* rename test fileNicolas Lœuillet2015-01-271-0/+18