Skip to content

Commit 3dbf813

Browse files
committed
Merge pull request #201 from symfony-cmf/fix_tests
fix tests
2 parents f0a6e23 + 05b05e7 commit 3dbf813

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ env:
1313

1414
before_script:
1515
- composer self-update
16+
- echo 'memory_limit = -1' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
1617
- composer require symfony/symfony:${SYMFONY_VERSION} --prefer-source
1718

1819
script: phpunit --coverage-text

Tests/Unit/Doctrine/Phpcr/LocaleListenerTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,12 @@ public function testHaslocale()
108108
->will($this->returnValue('some'))
109109
;
110110

111+
$this->routeMock->expects($this->once())
112+
->method('getRequirement')
113+
->with('_locale')
114+
->will($this->returnValue('some'))
115+
;
116+
111117
$this->routeMock->expects($this->never())
112118
->method('setDefault')
113119
;

0 commit comments

Comments
 (0)