Skip to content

Commit

Permalink
Fixed test, fixed value error message, next update value error messag…
Browse files Browse the repository at this point in the history
…e to use label
  • Loading branch information
willdoran committed Jun 27, 2016
1 parent b5db00b commit 37cd856
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion application/messages/post.php
Expand Up @@ -22,7 +22,7 @@

'values' => [
'date' => ':field.:param1 must be a date, Given: :param2',
'decimal' => ':field.:param1 must be a decimal with :param2 places, Given: :param2',
'decimal' => ':field.:param1 must be a decimal with 2 places, Given: :param2',
'digit' => ':field.:param1 must be a digit, Given: :param2',
'email' => ':field.:param1 must be an email address, Given: :param2',
'exists' => ':field.:param1 must be a valid post id, Post id: :param2',
Expand Down
1 change: 0 additions & 1 deletion application/tests/features/forms/api.attributes.feature
Expand Up @@ -116,7 +116,6 @@ Feature: Testing the Form Attributes API
"""
When I request "/forms/1/attributes"
Then the response is JSON
And the "key" property equals "value_test"
And the "label" property equals "Value test"
And the "instructions" property equals "Much longer boring instructions"
And the "type" property equals "varchar"
Expand Down

0 comments on commit 37cd856

Please sign in to comment.