Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
Silex
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
Silex
Commits
d04e93f7
Commit
d04e93f7
authored
Aug 09, 2011
by
Fabien Potencier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed debug code
parent
0139020e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/Silex/Tests/ApplicationTest.php
tests/Silex/Tests/ApplicationTest.php
+1
-1
No files found.
tests/Silex/Tests/ApplicationTest.php
View file @
d04e93f7
...
@@ -141,7 +141,7 @@ class ApplicationTest extends \PHPUnit_Framework_TestCase
...
@@ -141,7 +141,7 @@ class ApplicationTest extends \PHPUnit_Framework_TestCase
public
function
testControllersAsMethods
()
public
function
testControllersAsMethods
()
{
{
$app
=
new
Application
();
$app
=
new
Application
();
unset
(
$app
[
'exception_handler'
]);
$app
->
get
(
'/{name}'
,
'Silex\Tests\FooController::barAction'
);
$app
->
get
(
'/{name}'
,
'Silex\Tests\FooController::barAction'
);
$this
->
assertEquals
(
'Hello Fabien'
,
$app
->
handle
(
Request
::
create
(
'/Fabien'
))
->
getContent
());
$this
->
assertEquals
(
'Hello Fabien'
,
$app
->
handle
(
Request
::
create
(
'/Fabien'
))
->
getContent
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment