Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 5729ba9

Browse files
committed
Fixed test for PHP5.3
1 parent 1b1fe51 commit 5729ba9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Tests/AutoRoute/RouteMaker/RouteMakerTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ public function testMake()
2727
static $i = 0;
2828
$expected = array('/test', '/test/foo');
2929

30-
$this->assertInstanceOf(
30+
$test->assertInstanceOf(
3131
'Symfony\Cmf\Bundle\RoutingBundle\Document\Route',
3232
$doc
3333
);
3434

35-
$this->assertEquals($expected[$i++], $doc->getId());
35+
$test->assertEquals($expected[$i++], $doc->getId());
3636
$defaults = $doc->getDefaults();
37-
$this->assertTrue(isset($defaults['_controller']));
38-
$this->assertEquals('foobar', $defaults['_controller']);
37+
$test->assertTrue(isset($defaults['_controller']));
38+
$test->assertEquals('foobar', $defaults['_controller']);
3939
}));
4040

4141
$this->routeMaker->make($this->routeStack);

0 commit comments

Comments
 (0)