From 3e8fbce099bc03f3fbfa863ef5d24fafe469a365 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Tue, 17 Jan 2012 16:14:47 -0600 Subject: [PATCH] finished string::encoding test. --- tests/cases/laravel/str.test.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tests/cases/laravel/str.test.php diff --git a/tests/cases/laravel/str.test.php b/tests/cases/laravel/str.test.php new file mode 100644 index 00000000..b5a7f131 --- /dev/null +++ b/tests/cases/laravel/str.test.php @@ -0,0 +1,18 @@ +assertEquals('UTF-8', Config::get('application.encoding')); + Config::set('application.encoding', 'foo'); + $this->assertEquals('foo', Config::get('application.encoding')); + Config::set('application.encoding', 'UTF-8'); + } + +} \ No newline at end of file