File tree Expand file tree Collapse file tree 3 files changed +12
-15
lines changed Expand file tree Collapse file tree 3 files changed +12
-15
lines changed Original file line number Diff line number Diff line change 8
8
9
9
php :
10
10
- 5.5
11
+ - 5.6
11
12
- 7.0
12
- - nightly
13
13
- hhvm
14
14
15
15
matrix :
16
16
fast_finish : true
17
17
include :
18
- - php : 5.6
18
+ - php : 7.0
19
19
env : SYMFONY_VERSION=2.7.*
20
- - php : 5.6
21
- env : SYMFONY_VERSION=2.8.*@dev
22
- - php : 5.6
23
- env : SYMFONY_VERSION=" 3.0.*@dev"
20
+ - php : 7.0
21
+ env : SYMFONY_VERSION=2.8.*
22
+ - php : 7.0
23
+ env : SYMFONY_VERSION=3.0.*
24
24
- php : 7.0
25
25
26
26
allow_failures :
27
- - php : 7.0
28
- - php : nightly
29
- - env : SYMFONY_VERSION=2.8.*@dev
30
- - env : SYMFONY_VERSION="3.0.*@dev"
27
+ - env : SYMFONY_VERSION=3.0.*
31
28
32
29
before_install :
33
30
- composer self-update
Original file line number Diff line number Diff line change 14
14
use Dunglas \ApiBundle \Routing \Router ;
15
15
use Prophecy \Argument ;
16
16
use Symfony \Component \Routing \RequestContext ;
17
- use Symfony \Component \Routing \RouteCollection ;
18
17
use Symfony \Component \Routing \Router as SymfonyRouter ;
18
+ use Symfony \Component \Routing \RouteCollection ;
19
+ use Symfony \Component \Routing \RouterInterface ;
19
20
20
21
/**
21
22
* @author Kévin Dunglas <[email protected] >
@@ -49,7 +50,7 @@ public function testGetRouteCollection()
49
50
public function testGenerate ()
50
51
{
51
52
$ mockedRouter = $ this ->prophesize ('Symfony\Component\Routing\RouterInterface ' );
52
- $ mockedRouter ->generate ('foo ' , [], false )->willReturn ('/bar ' )->shouldBeCalled ();
53
+ $ mockedRouter ->generate ('foo ' , [], RouterInterface:: ABSOLUTE_PATH )->willReturn ('/bar ' )->shouldBeCalled ();
53
54
54
55
$ router = new Router ($ mockedRouter ->reveal ());
55
56
$ this ->assertSame ('/bar ' , $ router ->generate ('foo ' ));
Original file line number Diff line number Diff line change 30
30
"behat/mink" : " ~1.5" ,
31
31
"behat/mink-extension" : " ~2.0" ,
32
32
"behat/mink-browserkit-driver" : " ~1.1" ,
33
- "behatch/contexts" : " dev-master#eef7ab39ca896796bf3ba25a0fa5a95f15276eb7 " ,
33
+ "behatch/contexts" : " ~2.3 " ,
34
34
"symfony/finder" : " ~2.3" ,
35
- "phpunit/phpunit" : " ~4.6" ,
36
35
"doctrine/orm" : " ~2.2,>=2.2.3" ,
37
36
"doctrine/doctrine-bundle" : " ~1.2" ,
38
- "php-mock/php-mock-phpunit" : " ^0.3 "
37
+ "php-mock/php-mock-phpunit" : " ~1.1 "
39
38
},
40
39
"suggest" : {
41
40
"doctrine/doctrine-bundle" : " To use the Doctrine ORM bridge." ,
You can’t perform that action at this time.
0 commit comments