14 Commits

Author SHA1 Message Date
Alexandre Bodin
c122056f2c Fix search test and entity manager count query 2021-08-11 11:12:58 +02:00
Kim, Harim
ac3d10006c
Add session option to Strapi query for Mongo Multi-Document transaction (#6447)
* add session option to mongo queries for transaction

Signed-off-by: harimkims <harimkims@gmail.com>

* seperate session parameter in buildQuery functions

Signed-off-by: harimkims <harimkims@gmail.com>

* clarify comment about mongoose create requirement

Signed-off-by: harimkims <harimkims@gmail.com>

Co-authored-by: Convly <jean-sebastien.herbaux@epitech.eu>
2021-01-13 10:37:23 +01:00
Convly
5bf9375381 First impl (wip)
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2021-01-08 09:52:21 +01:00
Alexandre Bodin
07e7cfc0bd Make lint stricter and fix the errors
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-11-02 19:41:42 +01:00
Andrey Hohutkin
94e031eba5
Fixes for Media Library upload (#5971)
* Fix formatFileInfo

Keep original file name including extension

* Fix file name for generated media

File name was not set for all generated media: thumbnail and resized pictures.

* Generate hash based on file name without extension

* cleanup PR

Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>

* Fix unit tests
Exclude temporarily unit test 'Replaces reserved and unsafe characters for URLs and files in hash' because it did not work properly ever.

* Remove path delimiter from filename because it is correct character for file path

* Fix e2e

* Continue fixes for e2e

* Fix createRequest content type

* Correct thumbnail name in e2e test

Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
Co-authored-by: Alexandre Bodin <bodin.alex@gmail.com>
Co-authored-by: Andrey Hohutkin <none@none>
2020-06-25 10:13:42 +02:00
Alexandre Bodin
c5e50665cd Add upload route in content-manager and remove formdata for data creation 2019-07-30 16:58:36 +02:00
Alexandre Bodin
7dab357125 Cleanup and test Groups CRUD 2019-07-02 13:28:18 +02:00
Alexandre Bodin
a2bfb52344 Refactor testing, add simple crud tests 2019-05-13 14:00:12 +02:00
Alexandre Bodin
a0b45e2741 Add cypress run 2019-03-13 00:10:20 +01:00
Alexandre Bodin
96b023d16b Restructure tests 2019-03-13 00:10:19 +01:00
Alexandre Bodin
f4b5a487d1 Add forceExit param to jest runner 2019-03-13 00:10:19 +01:00
Alexandre Bodin
865ee5e5e2 Init test automation
wip
2019-03-13 00:10:19 +01:00
Aurelsicoko
208319b8a2 Update request helper 2018-06-13 16:16:46 +02:00
Aurelsicoko
7e5b859575 Split tests in packages 2018-06-13 15:31:33 +02:00