Actions
Feature #6266
openAdd a unit test to fix ERF codes
Status:
New
Priority:
Low
Assignee:
-
Category:
Tests
Target version:
-
Description
Having a nice documentation of our error codes now, we should add a unit test that will make sure the algorithm does not change invalidating all the documented codes.
Updated by Lukas Zapletal almost 10 years ago
We do have one at least.
test/functional/api/v2/hosts_controller_test.rb
306: assert JSON.parse(response.body)['message'] =~ /ERF42-2640/
Actions