From ca4f6737dc884e6d2b759c55edd6324a0adbb4a3 Mon Sep 17 00:00:00 2001 From: Marcos Neves Date: Sat, 17 Aug 2013 12:14:19 -0300 Subject: [PATCH] add test to show the bug --- tests/Valitron/StaticVsInstanceTest.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tests/Valitron/StaticVsInstanceTest.php diff --git a/tests/Valitron/StaticVsInstanceTest.php b/tests/Valitron/StaticVsInstanceTest.php new file mode 100644 index 0000000..17d5d8a --- /dev/null +++ b/tests/Valitron/StaticVsInstanceTest.php @@ -0,0 +1,13 @@ +assertEquals('ar', Validator::lang(), + 'lang defined statically should not be override by instance lang'); + } +}