Commit Graph

1103 Commits

Author SHA1 Message Date
Thibaud Fabre
bd7e0987bc Clear log repository on user deletion 2016-09-29 10:22:05 +02:00
Thibaud Fabre
b98d8a38b2 Fix webhook repository test 2016-09-28 21:35:48 +02:00
Jean-Yves Gaulier
827e4fe255 PHRAS-842_search-logged-as-es_4.0
- fix : query is logged in a "user" form, before parsing
2016-09-22 15:16:36 +02:00
Thibaud Fabre
edaf603552 Merge pull request #1859 from bburnichon/improvement/search-v4
Backport of #1831 into 4.0
2016-05-19 16:42:17 +02:00
Benoît Burnichon
a92653ec56 Remove useless variable 2016-05-19 14:40:10 +02:00
Benoît Burnichon
c14e48437d Refactor tests to use $this->getApplication().
Move LoginTest specific use case into LoginTest class
2016-05-19 14:39:05 +02:00
Benoît Burnichon
f0e2ff2bd1 Backport PHP7 issue fix in Youtube Bridge 2016-05-19 14:08:48 +02:00
Benoît Burnichon
5bcb253be3 Remove client dependency in test, use $this->request instead 2016-05-19 13:50:08 +02:00
Benoît Burnichon
148568080f Bump fractal version to development one. 2016-05-19 13:50:08 +02:00
Jean-Yves Gaulier
378cc45a87 PHRAS-1101_THMB-TRAIN-IN-PREVIEW
backport from master
#time 30m
2016-05-12 17:16:47 +02:00
Thibaud Fabre
5d01291555 Update mocks in order todo test 2016-05-12 14:36:40 +02:00
Thibaud Fabre
4ae762657e Update tests to mock event subscribers not mailers 2016-05-12 14:22:49 +02:00
Benoît Burnichon
1e18b3e69f This is a combination of 33 commits.
- Squashed Pull request #1730
- Squashed Pull request #1741
- Squashed Pull request #1742
- Squash merge branch 4.0
- Squashed Pull request #1744
- Squashed Pull request #1746
- Squashed merge branch 4.0
- Squashed merge branch 4.0
- Squashed merge branch 4.0
- Squashed merge branch 4.0
- Squashed Pull request #1758
- Avoid using imagine/imagine alias as it is causing install issues
- Squashed merge branch 4.0
- Squashed Pull request #1763
- Squashed merge branch 4.0
- Squash of 6 commits
- Squashed merge branch 4.0
- This is a combination of 2 commits.
- Squashed Pull request #1775
- Squashed Pull request #1777
- Squashed Pull request #1779
- Squashed Pull request #1780
- Squashed Pull request #1782
- Adds a Pull request template
- Squased Pull request #1783
- Squash Pull request #1786
- Squashed Pull request #1796
- Squashed merge branch 4.0
- Squash Pull request #1791
- Squashed merge branch 4.0
- Squashed Pull request #1808
- Squashed Pull request #1811
- Squashed Pull request #1809
2016-04-20 16:22:14 +02:00
Benoît Burnichon
bc1d5ed2c2 Fix BasketElementRepository findByRecordIds 2016-04-11 12:33:45 +02:00
Benoît Burnichon
65550e8bd1 Refactor OrderTest 2016-03-22 16:13:23 +01:00
Benoît Burnichon
421e62d136 Typos in Users in RegenerateSqliteDb command.
PHPCS of tests
2016-03-22 16:09:38 +01:00
Benoît Burnichon
9078835ae8 Fix FailureManager tests and dependent AuthenticationManagerServiceProviderTest 2016-03-15 12:59:55 +01:00
Benoît Burnichon
c6f133abf2 EmptyCollectionJob should accept bas_id setting.
Could not refactor the job as there are static calls preventing mocks.
2016-03-14 12:07:09 +01:00
Benoît Burnichon
e22a60afc5 Refactor tests using XmlHttpRequest 2016-03-11 20:00:52 +01:00
Benoît Burnichon
f2e62abd8b Remove !count() calls 2016-03-11 18:03:53 +01:00
Benoît Burnichon
393584fe00 Fixup tests for PhraseanetTags 2016-03-09 17:58:36 +01:00
Benoît Burnichon
e52273480b Rename Nosource tag into NoSource. Add fieldName property 2016-03-09 16:09:10 +01:00
Benoît Burnichon
6d2df0f9bd fixup Nosource to be properly initialized. Tag should be Value Objects 2016-03-09 13:50:44 +01:00
Benoît Burnichon
8ac4b3671b Fix invalid process comparison 2016-03-02 11:34:08 +01:00
Benoît Burnichon
ea8f9ca556 Remove overridden BinaryFileResponse 2016-03-01 16:55:28 +01:00
Benoît Burnichon
119c101c32 Revert changes to ApiJSONPTest 2016-02-28 23:05:50 +01:00
Benoît Burnichon
1bb5723b39 Add missing use 2016-02-27 21:32:30 +01:00
Benoît Burnichon
c56a174240 Removing many redundant API tests. 2016-02-26 16:56:48 +01:00
Benoît Burnichon
04131a3479 Refactor ExportTest 2016-02-26 16:18:48 +01:00
Benoît Burnichon
59a334ea32 New search style 2016-02-22 14:07:16 +01:00
Benoît Burnichon
1d519ff58f Fixup FilesystemService document filename generation.
There was a missing '.' before extension
2016-02-12 19:29:28 +01:00
Benoît Burnichon
5c359c9f75 Add symfony patch to local BinaryFileResponse. 2016-02-08 17:50:30 +01:00
Benoît Burnichon
290cbf3f68 Merge branch 'master' into bug/invalid-checker-configuration-PHRAS-927 2016-02-08 11:19:45 +01:00
Benoît Burnichon
e40a092156 Refactor functional to unit test.
Remove a functional which is already backed by unit test
2016-02-06 00:37:34 +01:00
Benoît Burnichon
ea13ca7896 Add missing applicability test in BorderManager 2016-02-05 18:29:33 +01:00
Benoît Burnichon
a539919cf8 Add tested booker class 2016-02-05 15:36:19 +01:00
Benoît Burnichon
5428e524e4 InformationsTest wrongly override __construct 2016-02-05 15:36:19 +01:00
Benoît Burnichon
58b80bf08a Group Filesystem related service providers 2016-02-05 15:36:19 +01:00
Benoît Burnichon
ced5094355 Remove DeliverDataInterface::deliverData as never used 2016-01-29 17:43:41 +01:00
Benoît Burnichon
beda5d3820 Getting collection calls access_restriction which is not properly cached.
Remove use of cache in AccessRestriction and use instance memory cache instead.
Beware static keyword declares variable static for the class, not the instance
2016-01-27 18:55:49 +01:00
Thibaud Fabre
450adb0847 Application bootstrap refactor
- Extract environment properties in Environment class
- Replaces initialisation closure by ApplicationLoader class
- Removes undesirable error handling/PHP settings modifications
2016-01-22 17:12:21 +01:00
Benoît Burnichon
c5b57395fd Remove static method in ServeFileResponseFactory 2016-01-14 10:58:18 +01:00
Thibaud Fabre
f5df9f1ad4 Bust databox cache via repository 2016-01-08 15:15:29 +01:00
Thibaud Fabre
74366feac3 Fix failing tests
- SQL query error
- Reload updated collections in tests (error in test logic)
2016-01-07 18:57:19 +01:00
Thibaud Fabre
c92d5da9fe Merge branch 'clean-boxes' into merge-clean-boxes 2016-01-06 19:53:43 +01:00
Benoît Burnichon
e3f49db7b6 Merge pull request #1612 from jygaulier/PHRAS-846_tasks-logs
Phras 846 tasks logs
2016-01-06 10:14:48 +01:00
Benoît Burnichon
51023c5533 bump copyright year 2016-01-05 13:38:14 +01:00
Jean-Yves Gaulier
d2ef455ef8 #PHRAS-846 time 1h
fix test
2015-12-28 17:24:13 +01:00
Benoît Burnichon
3b6cd117bb Merge pull request #1607 from bburnichon/feature/PHRAS-867
API Basket elements add/removal
2015-12-22 19:08:42 +01:00
Benoît Burnichon
58e7deb394 Change Test to have debug mode off 2015-12-22 17:44:35 +01:00