Colin Darie
|
77fb0553fc
|
chore: enable freeze string literals by comment
|
2024-08-22 09:26:48 +02:00 |
|
Paul Chavard
|
ebbada752f
|
feat(api_token): add APIToken model
|
2022-12-07 18:19:37 +01:00 |
|
Pierre de La Morinerie
|
a2b91c8ec6
|
factories: cleanup Administrateur, Instructeur and Expert factories
This changes:
- avoids relying on application code to create mock objects,
- allows to build Administrateur or Instructeurs without saving them.
|
2021-10-26 12:03:30 +02:00 |
|
clemkeirua
|
2b23eefee2
|
fix tests that now requir an admin user to have a strong password
|
2020-09-18 11:16:34 +02:00 |
|
Christophe Robillard
|
ed970d3f3c
|
admin: create without providing email
|
2020-02-04 16:21:42 +01:00 |
|
simon lehericey
|
e0e29d741f
|
Simplify instructeur and administrateur factory
|
2019-08-20 12:20:12 +02:00 |
|
simon lehericey
|
27c81c1992
|
Update administrateur factory
|
2019-08-14 15:06:16 +02:00 |
|
simon lehericey
|
65a53909e1
|
Update instructeur factory
|
2019-08-13 15:15:16 +02:00 |
|
simon lehericey
|
3fde2a6f70
|
Rename gestionnaire in code to instructeur
|
2019-08-12 13:47:01 +02:00 |
|
Paul Chavard
|
48701e80bd
|
Enable flipflop for instructeurs
|
2019-03-12 12:14:34 +01:00 |
|
Paul Chavard
|
c37f649453
|
Update specs to use multiple administrateurs
|
2019-03-12 11:59:01 +01:00 |
|
simon lehericey
|
f0139c5962
|
Spec Factory: an administrateur always has a gestionnaire
|
2019-01-09 13:49:47 +01:00 |
|
Pierre de La Morinerie
|
2c0108190c
|
spec: fix specs failing randomly
This is because creating a procedure attempts to create an admin from
scratch, and fails to do so.
Broken by 802f2086d6
|
2019-01-03 17:42:43 +01:00 |
|
simon lehericey
|
1997f45d7e
|
Api Token: do not generate one token by default
|
2018-09-27 10:14:32 +02:00 |
|
Mathieu Magnin
|
499021588d
|
[Fix #1285] Password strength is ensured when saving an administrateur
|
2018-09-26 09:03:03 +02:00 |
|
gregoirenovel
|
f66d8451b1
|
Fix FactoryBot warnings
|
2018-09-04 16:46:48 +02:00 |
|
gregoirenovel
|
a2f4e8b283
|
factory_girl is now factory_bot
|
2018-01-23 17:15:42 +01:00 |
|
Mathieu Magnin
|
c52a979199
|
Fix email collision in tests
|
2017-06-01 18:11:56 +02:00 |
|
gregoirenovel
|
d5e7bbd80d
|
Files should end with a new line
|
2017-04-04 16:59:38 +02:00 |
|
Xavier J
|
270d28f6da
|
Add procedure edition functionality
|
2015-10-26 15:54:20 +01:00 |
|