fuel/core — pull request #1212 by billmn (2012-11-17 09:13:07+00:00)
Title: Messages of Validation tests independent from application langs files

If I've translated the validation lang file ... validation test failed :

Tests Running...This may take a few moments.
PHPUnit 3.6.11 by Sebastian Bergmann.

............................................................... 63 / 362 ( 17%)
............................................................... 126 / 362 ( 34%)
............................................................... 189 / 362 ( 52%)
............................................................... 252 / 362 ( 69%)
....................................................FF......... 315 / 362 ( 87%)
...............................................

Time: 3 seconds, Memory: 20.50Mb

There were 2 failures:

1) Fuel\Core\Test_Validation::test_validation_valid_string_multiple_flags_error_message_add_rule
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'The valid string rule valid_string(alpha, numeric) failed for field F1'
+'La regola di validazione "valid_string" è fallita per il campo "F1"'

2) Fuel\Core\Test_Validation::test_validation_valid_string_multiple_flags_error_message_add_field
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'The valid string rule valid_string(alpha, numeric) failed for field F1'
+'La regola di validazione "valid_string" è fallita per il campo "F1"'

FAILURES!
Tests: 362, Assertions: 376, Failures: 2.