1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-02-17 11:54:22 +01:00

(test) fix test failure for update machine category

This commit is contained in:
Du Peng 2023-01-02 10:57:16 +01:00
parent 74fadb3ac9
commit b1592a7f6f

View File

@ -53,7 +53,7 @@ class MachineCategoriesTest < ActionDispatch::IntegrationTest
json = json_response(response.body)
assert_equal name, json[:name]
assert_equal category.machines.length, 2
assert_equal category.machine_ids, [2, 3]
assert_equal category.machine_ids.sort, [2, 3]
end
test 'delete a machine category' do