Jeremy Benoist
e9fa8c40aa
Add test on tagAllForUser
...
And fix multiplication of entries returned by `tagAllForUser`.
2015-12-28 13:20:48 +01:00
Jeremy Benoist
fc031e5706
Avoid multiple tag creation
...
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
2015-12-28 13:20:48 +01:00
Nicolas Lœuillet
347fa6beb0
php cs
2015-12-08 09:20:03 +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
Kévin Gomez
0c5bcd82ba
Use Psr\Log\NullLogger instead of creating a mock
2015-11-11 16:27:53 +01:00
Kévin Gomez
8a99c7a86b
Add a few functional tests for the tagging rules creation form
2015-11-11 16:27:19 +01:00
Kévin Gomez
625acf3352
Add a command to automatically tag all entries for a user
2015-11-11 16:27:19 +01:00
Kévin Gomez
5a166c5c1a
Add tests for the RuleBasedTagger class
2015-11-11 16:23:49 +01:00
Kévin Gomez
1c9cd2a7f0
Errors in the automatic tagging do not prevent the entry from being added
2015-11-11 16:23:49 +01:00
Kévin Gomez
003fa77438
Add tests for the StringToListTransformer class
2015-11-11 16:23:49 +01:00
Kévin Gomez
f530f7f5e1
Fix ContentProxyTest
2015-11-11 16:23:49 +01:00
Jeremy Benoist
fba3f536a5
Fix tests
2015-11-09 16:32:48 +01:00
Jeremy Benoist
cceca9ea1d
Fix route parameters
...
Improve export tests
Improve CSV export
2015-11-09 16:32:48 +01:00
Thomas Citharel
b3cc1a14e7
add json & xml
2015-11-09 16:32:48 +01:00
Jeremy Benoist
33c36f6b48
Fix tests on pgsql
2015-11-09 16:32:48 +01:00
Jeremy Benoist
add597bad9
Rework on export
...
- all export now return a `HttpFoundation\Response`
- return a 404 on unsupported format
- add tests
2015-11-09 16:32:48 +01:00
Jeremy Benoist
970e0e994f
Remove duplicate comments
2015-11-07 14:18:38 +01:00
Jeremy Benoist
75c48e3ae0
CS
2015-11-07 14:16:13 +01:00
Jeremy Benoist
d502762598
Skipping PostgreSQL test that drop database
...
For a not-clear reason, I can't properly drop the current database. Even if Doctrine made a special case for that (https://github.com/doctrine/dbal/pull/849 ).
So instead of trying crazy things to achieve the test, better way is to skip test (too much wasted days ..)
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
Jeremy Benoist
735068d181
Add tests on TablePrefixSubscriber
2015-11-07 14:15:33 +01:00
Jeremy Benoist
78507d2835
Fix deprecated helper in command
2015-11-06 23:39:19 +01:00
Jeremy Benoist
2aac2f278f
Add tests on listeners
2015-10-16 07:40:09 +02:00
Nicolas Lœuillet
c89d35e851
Language selection on config screen
2015-10-15 21:42:29 +02:00
Nicolas Lœuillet
18cf594f8a
move 2factor activation in parameters
2015-10-15 13:17:21 +02:00
Nicolas Lœuillet
0d6a7929e1
add tests for 2factor authentication
2015-10-14 17:10:12 +02:00
Nicolas Lœuillet
880a0e1c0b
implement bookmarklet
2015-10-08 13:29:41 +02:00
Nicolas Lœuillet
ce782c84b8
fix bug on detect active theme
2015-10-06 20:51:40 +02:00
Jeremy Benoist
16dabc3263
Merge pull request #1436 from wallabag/v2-register
...
Public registration & oAuth2 \o/
2015-10-06 09:19:06 +02:00
Nicolas Lœuillet
784bb4c38d
add test for removeWww Twig Extension
2015-10-06 09:09:26 +02:00
Nicolas Lœuillet
0a878469d4
move some files to UserBundle
2015-10-03 13:31:48 +02:00
Nicolas Lœuillet
1210dae105
remove old implementation for login/register/recover
2015-10-03 13:31:48 +02:00
Jeremy Benoist
772d8c4b93
Add test on RegistrationConfirmedListener
...
And PLEASE @nicosomb, NEVER EVER inject the whole container inside a service.
2015-10-03 13:30:43 +02:00
Nicolas Lœuillet
2c13918acc
add test for confirmed registration
2015-10-03 13:30:43 +02:00
Nicolas Lœuillet
359b3f43cc
* rename AuthenticationListener
...
* add tests
2015-10-03 13:30:43 +02:00
Nicolas Lœuillet
fcb1fba5c2
* public registration
...
* remove WSSE implementation
* add oAuth2 implementation
2015-10-03 13:30:43 +02:00
Nicolas Lœuillet
cfb28c9da0
french translation
2015-10-01 09:26:52 +02:00
Nicolas Lœuillet
917040d4a0
Merge pull request #1434 from wallabag/travis-db
...
Add multiple database tests on Travis
2015-09-28 22:57:11 +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
da3d4998c0
Move readingTime & domainName in ContentProxy
...
So, everything is centralized in one place when we save a new entry.
2015-09-28 19:35:33 +02:00
Jeremy Benoist
0f30f48b93
Enabled created user from Config
...
By default, creating user with FOSUser are disabled by default.
Fix #1423
2015-09-26 19:45:14 +02:00
Jeremy Benoist
d4ebe5c5dc
Entries filter on language
...
+ updated deps
2015-09-23 07:55:55 +02:00
Jeremy Benoist
98f0929f16
Handle entry in language
...
Fix #1333
2015-09-22 20:52:13 +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
Nicolas Lœuillet
3f7a62908c
fix tests for FosUser
2015-09-11 20:32:37 +02:00
Nicolas Lœuillet
a1691859ca
implement FosUser
2015-09-11 20:32:37 +02:00