aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Tests
Commit message (Collapse)AuthorAgeFilesLines
* Convert array + phpDocJeremy Benoist2016-04-1214-272/+272
| | | | Thanks for https://github.com/thomasbachem/php-short-array-syntax-converter
* Move setup config outside setupAdminJeremy Benoist2016-04-111-24/+30
| | | | If user doesn't want to create a new admin (even if it's recommended) the internal config weren't created resulting in error when using the interface.
* Merge pull request #1805 from wallabag/v2-assign-comma-tagsNicolas Lœuillet2016-03-281-0/+32
|\ | | | | Fix #1768 Split tags with commas from UI
| * Simplify tag creation from entryJeremy Benoist2016-03-271-0/+32
| | | | | | | | | | Testing that a tag exist or is assigned to the current entry isn't important in the tag controler since the `assignTagsToEntry` is already doing that job. So it simplify the controller.
* | Fix some Scrutinizer issuesJeremy Benoist2016-03-271-0/+85
|/
* CSJeremy Benoist2016-03-201-0/+2
|
* Add flashes messagesJeremy Benoist2016-03-201-8/+8
|
* Improve test failure readabilityJeremy Benoist2016-03-202-15/+17
| | | | | 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-204-55/+61
| | | | | | | - 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>`
* Improved testsNicolas Lœuillet2016-03-181-0/+1
|
* Add listing clientsJeremy Benoist2016-03-051-3/+50
| | | | Rename route to be more consistive (ie: prefixed with developer_)
* Remove commentsNicolas Lœuillet2016-02-291-6/+1
|
* add testsNicolas Lœuillet2016-02-291-0/+29
|
* Skipping all Posgres test for wallabag:installJeremy Benoist2016-02-291-20/+18
| | | | | | | | | | | | | | We already faced this problem but we are facing it again. https://github.com/wallabag/wallabag/commit/d502762598db68ec822078642df8f6a8214202f7 It seems we can drop a database properly using wallabag:install. The server log keep saying: ERROR: source database "template1" is being accessed by other users DETAIL: There is 1 other session using the database. STATEMENT: CREATE DATABASE "wallabag_test" Which means, it can't remove the database wallabag_test because one other person is using it.
* Add testsJeremy Benoist2016-02-221-0/+30
|
* Merge pull request #1699 from wallabag/v2-assign-tagNicolas Lœuillet2016-02-191-4/+102
|\ | | | | Move assignTagsToEntry in ContentProxy helper
| * Move assignTagsToEntry in ContentProxy helperJeremy Benoist2016-02-191-4/+102
| |
* | Fix #1551 - Redirect to the last page when current page is out of rangeMaxime LECLERCQ2016-02-191-0/+11
|/
* Merge pull request #1656 from wallabag/v2-fix-new-user-password-promptsJeremy Benoist2016-02-111-1/+1
|\ | | | | fix labels on new user prompt
| * fix labels on new user promptThomas Citharel2016-02-111-1/+1
| | | | | | | | | | | | | | | | fix tests nl add translation validation length
* | improve test and change method name. Also, display number of entries for ↵Thomas Citharel2016-02-101-1/+3
| | | | | | | | each tag
* | remove tag from entry #1377Thomas Citharel2016-02-101-1/+27
|/
* fix testsThomas Citharel2016-02-041-2/+19
|
* Fix #1643: fix the way to load the HTML template in 2factor authNicolas Lœuillet2016-02-041-1/+1
|
* Fix permission to settings pageJeremy Benoist2016-01-311-0/+32
|
* Fix testsJeremy Benoist2016-01-311-0/+1
|
* Add for deleting rule from an other userJeremy Benoist2016-01-221-6/+49
|
* 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.
* Add tests on TagAllCommandJeremy Benoist2016-01-211-0/+60
| | | | Some simple tests
* Merge pull request #1583 from wallabag/v2-fix-deleteNicolas Lœuillet2016-01-152-10/+27
|\ | | | | Fix `findOneByUrl` side effect in tests
| * Fix `findOneByUrl` side effect in testsJeremy Benoist2016-01-152-10/+27
| | | | | | | | Fix #1566
* | Merge pull request #1524 from wallabag/sf2.8Nicolas Lœuillet2016-01-158-20/+20
|\ \ | |/ |/| Upgrade to Symfony 3.0
| * Symfony Upgrade Fixer FTWJeremy Benoist2016-01-158-20/+20
| | | | | | | | symfony-upgrade-fixer fix src/Wallabag/
* | Quickstart for beginnersNicolas Lœuillet2016-01-151-4/+34
|/
* Merge pull request #1545 from wallabag/v2-user-tagNicolas Lœuillet2016-01-021-5/+4
|\ | | | | v2 – Remove user reference in tag
| * Cleanup testsJeremy Benoist2015-12-291-2/+1
| | | | | | | | | | - WallabagRestController: remove the tag deletion from the API since we can't remove a tag now, we only remove reference to entries - RuleBasedTaggerTest: remove workaround for asserting tag are equal since problem was related to mock expects (_call instead of findOneByLabel which was removed from the tag repository)
| * Remove user reference in tagJeremy Benoist2015-12-292-8/+8
| | | | | | | | Fix #1543
* | 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
* | Add custom email for 2FAJeremy Benoist2015-12-291-2/+2
|/ | | | Related #1490
* 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.
* Add test on tagAllForUserJeremy Benoist2015-12-281-0/+26
| | | | And fix multiplication of entries returned by `tagAllForUser`.
* Avoid multiple tag creationJeremy Benoist2015-12-281-0/+20
| | | | | | | When a new tag is created but not yet persisted, it can be duplicated. It could happen when multiple rules match the content and at least 2 of them should attach same new tag. Fix #1528
* php csNicolas Lœuillet2015-12-084-25/+23
|
* Assert that the tag has is the good oneKévin Gomez2015-11-161-1/+4
|
* Add a quick testKévin Gomez2015-11-132-1/+36
|
* Use Psr\Log\NullLogger instead of creating a mockKévin Gomez2015-11-111-5/+8
|
* Add a few functional tests for the tagging rules creation formKévin Gomez2015-11-111-0/+55
|
* Add a command to automatically tag all entries for a userKévin Gomez2015-11-111-5/+14
|
* Add tests for the RuleBasedTagger classKévin Gomez2015-11-111-0/+158
|
* Errors in the automatic tagging do not prevent the entry from being addedKévin Gomez2015-11-111-3/+8
|