Browse Source

verify Fixed lithium's json test

Mike Smith 11 years ago
parent
commit
9f6d0649e4

+ 1 - 1
php-lithium/app/controllers/BenchController.php

@@ -9,7 +9,7 @@ class BenchController extends Controller {
 
     public function json() {
         return $this->render(array(
-            'json' => array('message' => 'Hello World!')
+            'json' => array('message' => 'Hello, World!')
         ));
     }
 

+ 2 - 2
php-lithium/app/controllers/HelloWorldController.php

@@ -15,11 +15,11 @@ class HelloWorldController extends \lithium\action\Controller {
 	}
 
 	public function to_string() {
-		return "Hello World";
+		return "Hello, World!";
 	}
 
 	public function to_json() {
-		return $this->render(array('json' => 'Hello World'));
+		return $this->render(array('json' => 'Hello, World!'));
 	}
 }