Skip to content

Commit 252e87e

Browse files
committed
Mark tests for match() as legacy
1 parent cfb1761 commit 252e87e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Tests/Routing/DynamicRouterTest.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,9 @@ public function testGetMatcher()
136136
$this->assertSame($this->matcher, $matcher);
137137
}
138138

139+
/**
140+
* @group legacy
141+
*/
139142
public function testMatchUrl()
140143
{
141144
$routeDefaults = array('foo' => 'bar');
@@ -207,6 +210,7 @@ public function testMatchRequest()
207210

208211
/**
209212
* @expectedException \Symfony\Component\Routing\Exception\ResourceNotFoundException
213+
* @group legacy
210214
*/
211215
public function testMatchFilter()
212216
{
@@ -247,6 +251,7 @@ public function testMatchRequestFilter()
247251

248252
/**
249253
* @expectedException \InvalidArgumentException
254+
* @group legacy
250255
*/
251256
public function testMatchUrlWithRequestMatcher()
252257
{
@@ -282,6 +287,9 @@ public function testRouteDebugMessageNonversatile()
282287
$this->assertInternalType('string', $router->getRouteDebugMessage('test'));
283288
}
284289

290+
/**
291+
* @group legacy
292+
*/
285293
public function testEventHandler()
286294
{
287295
$eventDispatcher = $this->buildMock('Symfony\Component\EventDispatcher\EventDispatcherInterface');

0 commit comments

Comments
 (0)