1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-01 12:24:28 +01:00
fab-manager/test/fixtures
2022-11-23 11:59:06 +01:00
..
files (bug) soft-destroyed still reported in OpenAPI 2022-11-23 11:59:06 +01: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 (merge) merge dev and product-store 2022-10-26 09:37:31 +02:00
age_ranges.yml fix tests for age_range 2016-06-29 11:23:21 +02:00
assets.yml (test) store fixtures 2022-10-11 12:39:50 +02: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 (bug) invalid accounting export for store orders 2022-10-26 14:32:19 +02: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 (test) test admin reserves for himself 2022-10-25 14:31:31 +02:00
history_values.yml (bug) invalid accounting export for store orders 2022-10-26 14:32:19 +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 (test) store fixtures 2022-10-11 12:39:50 +02:00
invoices.yml (bug) invalid coupon amount in PDF invoices 2022-10-27 16:45:38 +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
order_activities.yml (feat) build stats in elasticsearch 2022-10-11 15:14:53 +02:00
order_items.yml (test) add admin pay order test 2022-11-07 18:52:43 +01:00
orders.yml (test) add admin pay order test 2022-11-07 18:52:43 +01:00
organizations.yml updated fixtures 2019-05-29 10:58:45 +02:00
payment_gateway_objects.yml (bug) invalid accounting export for store orders 2022-10-26 14:32:19 +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 (bug) invoice rounding error using coupons 2022-10-27 16:04:21 +02:00
prepaid_packs.yml (test) add test for prepaid pack 2022-10-19 18:16:54 +02:00
price_categories.yml add tests about event price's categories 2016-09-08 16:58:18 +02:00
prices.yml (bug) invoice rounding error using coupons 2022-10-27 16:04:21 +02:00
product_categories.yml (test) store fixtures 2022-10-11 12:39:50 +02:00
product_stock_movements.yml (test) store fixtures 2022-10-11 12:39:50 +02:00
products.yml (test) add test on store 2022-10-25 19:10:14 +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 (bug) invalid accounting export for store orders 2022-10-26 14:32:19 +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 (test) added a test on statistics export 2022-11-17 16:35:59 +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 (test) added a test on statistics export 2022-11-17 16:35:59 +01:00
statistic_profile_prepaid_packs.yml (test) add test for prepaid pack 2022-10-19 18:16:54 +02:00
statistic_profile_trainings.yml migrate trainings to statistic_profile and adjust code 2019-06-06 12:00:21 +02:00
statistic_profiles.yml (test) test admin reserves for himself 2022-10-25 14:31:31 +02:00
statistic_sub_types.yml (bug) soft-destroyed still reported in OpenAPI 2022-11-23 11:59:06 +01:00
statistic_type_sub_types.yml (bug) soft-destroyed still reported in OpenAPI 2022-11-23 11:59:06 +01:00
statistic_types.yml (test) added a test on statistics export 2022-11-17 16:35:59 +01: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 (test) store fixtures 2022-10-11 12:39:50 +02:00
users.yml (test) test admin reserves for himself 2022-10-25 14:31:31 +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.