Nicolas Lœuillet
d6a9e139dc
Fix tests
2016-04-24 20:46:25 +02:00
Nicolas Lœuillet
f2e5fdc366
Merge pull request #1916 from wallabag/cleanup
...
Convert array + phpDoc
2016-04-13 09:43:14 +02:00
Nicolas Lœuillet
1880da7420
Restore old behavior for OutOfRangeCurrentPageException
2016-04-12 16:40:18 +02:00
Nicolas Lœuillet
76cd8dbb05
Fix tests
2016-04-12 16:32:01 +02:00
Nicolas Lœuillet
624a7c6df1
Improve pagination when user has lot of entries
...
Fix #1905
* Usage of whiteoctober/WhiteOctoberPagerfantaBundle
2016-04-12 16:04:17 +02:00
Jeremy Benoist
4094ea4771
Convert array + phpDoc
...
Thanks for https://github.com/thomasbachem/php-short-array-syntax-converter
2016-04-12 12:25:29 +02:00
Jeremy Benoist
4f9cf232f8
Improve test failure readability
...
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.
2016-03-20 21:12:22 +01:00
Jeremy Benoist
0d42217e4e
Convert english translation file
...
- 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>`
2016-03-20 21:12:22 +01:00
Maxime LECLERCQ
671a2b887f
Fix #1551 - Redirect to the last page when current page is out of range
2016-02-19 16:02:31 +01:00
Jeremy Benoist
a0d6ccc5ca
Fix bad type after using findByUrlAndUserId
...
It returns an object since few commits this part of (untested) code still use an array.
Also add test for that part of code.
2016-01-21 16:37:25 +01:00
Jeremy Benoist
7883367246
Fix findOneByUrl
side effect in tests
...
Fix #1566
2016-01-15 15:28:32 +01:00
Nicolas Lœuillet
5c072d2b57
Quickstart for beginners
2016-01-15 15:01:30 +01:00
Jeremy Benoist
831b02aaf2
Ability to reload an entry
...
Could be useful when we want to update the content or when the content failed to be fetched.
Fix #1503
2015-12-30 09:41:17 +01:00
Jeremy Benoist
2863bf2ab5
Don't redirect to the content page after deletion
...
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.
2015-12-28 13:42:50 +01:00
Kévin Gomez
69edb774eb
Assert that the tag has is the good one
2015-11-16 13:34:00 +01:00
Kévin Gomez
958671a7ae
Add a quick test
2015-11-13 22:53:28 +01:00
Jeremy Benoist
75c48e3ae0
CS
2015-11-07 14:16:13 +01:00
Jeremy Benoist
8a493541fa
Re-enable test on doctrine command
...
It will slow down the whole test suite (because it'll use doctrine command).
Remove unecessary `KernelTestCase`.
Also rename `AbstractControllerTest` to `WallabagApiTestCase` for consistency.
2015-11-07 14:16:13 +01:00
Nicolas Lœuillet
880a0e1c0b
implement bookmarklet
2015-10-08 13:29:41 +02:00
Nicolas Lœuillet
cfb28c9da0
french translation
2015-10-01 09:26:52 +02:00
Jeremy Benoist
02d17813a1
Fix tests for all
2015-09-28 20:26:37 +02:00
Jeremy Benoist
159986c4fb
Fix Postgres tests
2015-09-28 19:35:55 +02:00
Jeremy Benoist
d4ebe5c5dc
Entries filter on language
...
+ updated deps
2015-09-23 07:55:55 +02:00
Jeremy Benoist
40f59b219b
Merge pull request #1418 from wallabag/v2-previewpicture-filter
...
filter for entries with previewPicture
2015-09-13 10:14:42 +02:00
Nicolas Lœuillet
497e0cad7c
add test for previewPicture filter
2015-09-13 10:11:22 +02:00
Jeremy Benoist
af43bd3767
Fix tests
...
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)
2015-09-12 11:36:16 +02:00
Jeremy Benoist
f90af145ca
Add test for same day filter
2015-08-23 22:06:27 +02:00
Nicolas Lœuillet
e177976099
filters: add test for status filter and adapt other tests results
2015-08-21 07:30:48 +02:00
Jeremy Benoist
8ce32af612
CS
...
We shouldn't forget to run `php-cs-fixer` time to time
2015-08-20 07:53:55 +02:00
Nicolas Lœuillet
443cecd2d8
add filter on domain name
2015-08-19 14:27:00 +02:00
Nicolas Lœuillet
3f357ee241
add test
2015-08-18 16:33:32 +02:00
Nicolas Lœuillet
ab2c93c7eb
add test
2015-08-17 15:15:51 +02:00
Nicolas Lœuillet
2686457448
store estimated reading time / filters on reading time
2015-08-12 09:01:29 +02:00
Francois Gravelaine
9fb6ac830f
Adds pagerfanta paginator everywhere, modifies article routing. Change API for is_starred and is_archived
2015-07-28 23:23:49 +02:00
Jeremy Benoist
82d6d9cb06
Add basic title edition
...
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.
2015-06-02 18:56:07 +02:00
Jeremy
769e19dc4a
Move API stuff in ApiBundle
2015-04-01 21:59:12 +02:00
Jeremy
34c06cabef
Use lemonde instead of mailjet
...
Mailjet seems to be laggy, hope that LeMonde will be more reliable in the future.
@see https://travis-ci.org/wallabag/wallabag/jobs/56246231
2015-03-31 22:48:01 +02:00
Nicolas Lœuillet
1d14779154
remove isDeleted flag
2015-03-06 20:50:30 +01:00
Jeremy
7781faa0b0
Use a form type for entry
2015-02-16 21:31:58 +01:00
Jeremy
3d2b2d62be
Avoid user to see other entries
...
hehe :)
2015-02-10 22:56:44 +01:00
Jeremy
eb3bd7efb7
Add more tests on Entry controller
...
Also add more fixtures
2015-02-10 22:32:42 +01:00
Jeremy
3b815d2de5
Add some fixtures
...
Improve test, so user can login
Fix some leftJoin
Cleanup EntryController
2015-02-08 23:13:40 +01:00
Jeremy
9c0c882006
Add some tests on EntryController
...
Also, create database schema on test initialisation
2015-02-07 18:30:46 +01:00
Jeremy
aa6e27cf4f
Tests are working again
2015-01-31 09:35:50 +01:00
Nicolas Lœuillet
0c678cf24a
rename test file
2015-01-27 13:17:37 +01:00