From d687a885a4a48cb8a50ed453a85f4552de62d485 Mon Sep 17 00:00:00 2001 From: Tobias Schultze Date: Tue, 13 Jan 2015 15:58:43 +0100 Subject: [PATCH] [Routing] fix misleading test for condition --- src/Symfony/Component/Routing/Tests/RouteTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Component/Routing/Tests/RouteTest.php b/src/Symfony/Component/Routing/Tests/RouteTest.php index 02ca4f4590..5dcc87e7cd 100644 --- a/src/Symfony/Component/Routing/Tests/RouteTest.php +++ b/src/Symfony/Component/Routing/Tests/RouteTest.php @@ -204,9 +204,9 @@ class RouteTest extends \PHPUnit_Framework_TestCase public function testCondition() { $route = new Route('/'); - $this->assertEquals(null, $route->getCondition()); + $this->assertSame('', $route->getCondition()); $route->setCondition('context.getMethod() == "GET"'); - $this->assertEquals('context.getMethod() == "GET"', $route->getCondition()); + $this->assertSame('context.getMethod() == "GET"', $route->getCondition()); } public function testCompile()