Skip to content

Commit faf449b

Browse files
[2.6] add @group legacy
1 parent 70d725c commit faf449b

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

Tests/EventListener/ProfilerListenerTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ class ProfilerListenerTest extends \PHPUnit_Framework_TestCase
2424
{
2525
/**
2626
* Test to ensure BC without RequestStack
27+
*
28+
* @group legacy
2729
*/
2830
public function testLegacyEventsWithoutRequestStack()
2931
{

Tests/KernelTest.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,20 +312,29 @@ public function doStuff()
312312
$this->assertEquals($expected, $output);
313313
}
314314

315+
/**
316+
* @group legacy
317+
*/
315318
public function testLegacyIsClassInActiveBundleFalse()
316319
{
317320
$kernel = $this->getKernelMockForIsClassInActiveBundleTest();
318321

319322
$this->assertFalse($kernel->isClassInActiveBundle('Not\In\Active\Bundle'));
320323
}
321324

325+
/**
326+
* @group legacy
327+
*/
322328
public function testLegacyIsClassInActiveBundleFalseNoNamespace()
323329
{
324330
$kernel = $this->getKernelMockForIsClassInActiveBundleTest();
325331

326332
$this->assertFalse($kernel->isClassInActiveBundle('NotNamespacedClass'));
327333
}
328334

335+
/**
336+
* @group legacy
337+
*/
329338
public function testLegacyIsClassInActiveBundleTrue()
330339
{
331340
$kernel = $this->getKernelMockForIsClassInActiveBundleTest();

0 commit comments

Comments
 (0)