Project

General

Profile

Actions

Feature #6266

open

Add a unit test to fix ERF codes

Added by Lukas Zapletal almost 10 years ago. Updated almost 10 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Tests
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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.

Actions #1

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

Also available in: Atom PDF