1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-12 23:09:03 +01:00
fab-manager/test/fixtures
Sylvain 5524cf5707 (bug) add missing statistic_key
For 1 year plans, the statistics key was missing in test fixtures
2022-09-05 14:19:38 +02:00
..
files (bug) add missing statistic_key 2022-09-05 14:19:38 +02:00
.keep release 2.0 rc 2016-03-23 18:39:41 +01:00
abuses.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
accounting_periods.yml improved test for accounting periods 2020-06-24 15:25:17 +02:00
addresses.yml all tests passing 2021-01-04 16:26:52 +01:00
age_ranges.yml fix tests for age_range 2016-06-29 11:23:21 +02:00
assets.yml removed dead code + improved test suite 2018-12-27 14:53:11 +01:00
auth_provider_mappings.yml (db) table to save OpenID connect configuration 2022-05-04 12:16:38 +02:00
auth_providers.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
availabilities.yml public calendar endpoint refactoring & testing 2022-07-18 17:19:33 +02:00
availability_tags.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
categories.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
components.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
coupons.yml improved testing of payment schedules + some fixes 2020-12-30 18:43:33 +01:00
credits.yml [ongoing] renew subscription test 2016-04-07 17:46:23 +02:00
custom_assets.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
database_providers.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
event_price_categories.yml add event fixtures 2016-11-28 11:00:01 +01:00
event_themes.yml age_range & theme for event model 2016-06-28 15:56:37 +02:00
events_event_themes.yml age_range & theme for event model 2016-06-28 15:56:37 +02:00
events.yml add event fixtures 2016-11-28 11:00:01 +01:00
exports.yml [feature] Async statistics export to XLSX 2016-07-27 11:28:54 +02:00
footprint_debugs.yml refreshed all footprints in fixtures, all tests passing 2021-05-31 17:14:42 +02:00
groups.yml update test data, allow passing test suite 2017-09-18 11:00:20 +02:00
history_values.yml added public_agenda_module to fixtures 2021-06-15 12:19:12 +02:00
i_calendar_events.yml import events asyncronously from icalendar 2019-12-02 15:53:24 +01:00
i_calendars.yml iCalendar server api & db model 2019-11-27 17:05:19 +01:00
imports.yml integration unit test for imports + fixed import result colors in UI + fixed test fixtures 2019-10-01 14:32:30 +02:00
invoice_items.yml refreshed all footprints in fixtures, all tests passing 2021-05-31 17:14:42 +02:00
invoices.yml public calendar endpoint refactoring & testing 2022-07-18 17:19:33 +02:00
invoicing_profiles.yml public calendar endpoint refactoring & testing 2022-07-18 17:19:33 +02:00
licences.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
machines_availabilities.yml test statistics generation 2022-01-18 15:34:21 +01:00
machines.yml WIP: move backend code base to new architecture 2021-04-23 17:54:59 +02:00
notifications.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
o_auth2_providers.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
offer_days.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
open_api_clients.yml Full test coverage of the OpenAPI 2021-06-28 09:50:37 +02:00
organizations.yml updated fixtures 2019-05-29 10:58:45 +02:00
payment_gateway_objects.yml public calendar endpoint refactoring & testing 2022-07-18 17:19:33 +02:00
payment_schedule_items.yml public calendar endpoint refactoring & testing 2022-07-18 17:19:33 +02:00
payment_schedule_objects.yml public calendar endpoint refactoring & testing 2022-07-18 17:19:33 +02:00
payment_schedules.yml public calendar endpoint refactoring & testing 2022-07-18 17:19:33 +02:00
plans.yml WIP: move backend code base to new architecture 2021-04-23 17:54:59 +02:00
price_categories.yml add tests about event price's categories 2016-09-08 16:58:18 +02:00
prices.yml (test) space reservation 2022-06-29 15:34:49 +02:00
profiles.yml public calendar endpoint refactoring & testing 2022-07-18 17:19:33 +02:00
project_steps.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
project_users.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
projects_components.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
projects_machines.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
projects_themes.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
projects.yml migrate projects to statistic_profile 2019-06-06 16:34:53 +02:00
README.md Enhanced rake task to create fixtures for test cases 2020-07-22 09:45:20 +02:00
reservations.yml do not display invoice update logs in test mode + updated reservations fixtures w/o stp_invoice_id column + helper script to run tests 2019-09-11 14:29:35 +02:00
roles.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
settings.yml added public_agenda_module to fixtures 2021-06-15 12:19:12 +02:00
slots_reservations.yml build all slots at reservation creation time 2022-07-18 17:18:00 +02:00
slots.yml public calendar endpoint refactoring & testing 2022-07-18 17:19:33 +02:00
spaces_availabilities.yml test space availabilities api 2017-02-15 16:22:19 +01:00
spaces.yml WIP: move backend code base to new architecture 2021-04-23 17:54:59 +02:00
statistic_custom_aggregations.yml [bug] wrong statistics about hours available for reservation 2017-01-03 13:35:36 +01:00
statistic_fields.yml add age&theme filters to statistics 2016-06-30 12:48:46 +02:00
statistic_graphs.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
statistic_indices.yml messages variations depending on slot duration 2019-12-09 10:27:50 +01:00
statistic_profile_trainings.yml migrate trainings to statistic_profile and adjust code 2019-06-06 12:00:21 +02:00
statistic_profiles.yml public calendar endpoint refactoring & testing 2022-07-18 17:19:33 +02:00
statistic_sub_types.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
statistic_type_sub_types.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
statistic_types.yml (bug) add missing statistic_key 2022-09-05 14:19:38 +02:00
stylesheets.yml Improved style of public plans page 2021-03-22 13:13:51 +01:00
subscriptions.yml public calendar endpoint refactoring & testing 2022-07-18 17:19:33 +02:00
tags.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
themes.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
tickets.yml add tests about event price's categories 2016-09-08 16:58:18 +02:00
trainings_availabilities.yml public calendar endpoint refactoring & testing 2022-07-18 17:19:33 +02:00
trainings_machines.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
trainings_pricings.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
trainings.yml WIP: move backend code base to new architecture 2021-04-23 17:54:59 +02:00
user_tags.yml finally succeed to generate fixtures from db 2016-04-05 12:05:40 +02:00
users_credits.yml [ongoing] renew subscription test 2016-04-07 17:46:23 +02:00
users_roles.yml removed dead code + improved test suite 2018-12-27 14:53:11 +01:00
users.yml public calendar endpoint refactoring & testing 2022-07-18 17:19:33 +02:00
wallet_transactions.yml improved testing of payment schedules + some fixes 2020-12-30 18:43:33 +01:00
wallets.yml public calendar endpoint refactoring & testing 2022-07-18 17:19:33 +02:00

Test fixtures

Fixtures are test data. Every time a new test is run, the database is filled with these data.

You can create fixtures manually or using the following task, to dump your current table/database to the YAML fixture files:

rails db:to_fixtures[table]

The parameter table is optional. If not specified, the whole database will be dumped.