diff --git a/classes/controller/unittest.php b/classes/controller/unittest.php index 160add7..a0eb042 100644 --- a/classes/controller/unittest.php +++ b/classes/controller/unittest.php @@ -61,7 +61,7 @@ public function before() $this->status = 404; throw new Kohana_Request_Exception('Unable to find a route to match the URI: :uri', - array(':uri' => $this->request->uri)); + array(':uri' => $this->request->uri())); } // Prevent the whitelist from being autoloaded, but allow the blacklist