1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-02-20 14:54:15 +01:00

Version 5.6.9

This commit is contained in:
Sylvain 2023-02-02 11:22:57 +01:00
parent 0fd4bcbf19
commit 874a527f6f
3 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,7 @@
# Changelog Fab-manager
## v5.6.9 2023 February 02
- Updated shakapaker to 6.5.5
- Fix a bug: unable to filter statistics by slot date
- Fix a bug: unable to create a recurrent event

View File

@ -1,6 +1,6 @@
{
"name": "fab-manager",
"version": "5.6.8",
"version": "5.6.9",
"description": "Fab-manager is the FabLab management solution. It provides a comprehensive, web-based, open-source tool to simplify your administrative tasks and your marker's projects.",
"keywords": [
"fablab",

View File

@ -115,7 +115,7 @@ class ReservationSubscriptionStatisticServiceTest < ActionDispatch::IntegrationT
assert_not_nil stat_hour
assert_equal machine.friendly_id, stat_hour['subType']
assert_equal (machine_slot.duration.to_i / 3600.0).to_i, stat_hour['stat']
assert_includes stat_hour['machineDates'], machine_slot.start_at.to_date.iso8601
assert_includes stat_hour['machineDates'], { 'name' => machine_slot.start_at.to_date.iso8601 }
check_statistics_on_user(stat_hour)
# second machine reservation (today)
@ -132,7 +132,7 @@ class ReservationSubscriptionStatisticServiceTest < ActionDispatch::IntegrationT
assert_not_nil stat_hour
assert_equal machine.friendly_id, stat_hour['subType']
assert_equal (machine_slot2.duration.to_i / 3600.0).to_i, stat_hour['stat']
assert_includes stat_hour['machineDates'], machine_slot2.start_at.to_date.iso8601
assert_includes stat_hour['machineDates'], { 'name' => machine_slot2.start_at.to_date.iso8601 }
check_statistics_on_user(stat_hour)
# training