mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Fix latest merge
This commit is contained in:
@@ -182,4 +182,8 @@ xsendfile:
|
|||||||
enabled: false
|
enabled: false
|
||||||
type: nginx
|
type: nginx
|
||||||
mapping: []
|
mapping: []
|
||||||
|
h264-pseudo-streaming:
|
||||||
|
enabled: false
|
||||||
|
type: nginx
|
||||||
|
mapping: []
|
||||||
plugins: []
|
plugins: []
|
||||||
|
@@ -182,4 +182,8 @@ xsendfile:
|
|||||||
enabled: false
|
enabled: false
|
||||||
type: nginx
|
type: nginx
|
||||||
mapping: []
|
mapping: []
|
||||||
|
h264-pseudo-streaming:
|
||||||
|
enabled: false
|
||||||
|
type: nginx
|
||||||
|
mapping: []
|
||||||
plugins: []
|
plugins: []
|
||||||
|
@@ -56,10 +56,16 @@ class UserManipulatorTest extends \PhraseanetTestCase
|
|||||||
->disableOriginalConstructor()
|
->disableOriginalConstructor()
|
||||||
->getMock();
|
->getMock();
|
||||||
|
|
||||||
$geoname->expects($this->once())
|
$geoname->expects($this->any())
|
||||||
->method('get')
|
->method('get')
|
||||||
->with($this->equalTo('country'))
|
->will($this->returnCallback(function ($prop) {
|
||||||
->will($this->returnValue(['code' => 'fr']));
|
switch ($prop) {
|
||||||
|
case 'country':
|
||||||
|
return ['code' => 'fr'];
|
||||||
|
case 'name':
|
||||||
|
return 'Orléans';
|
||||||
|
}
|
||||||
|
}));
|
||||||
|
|
||||||
$geonamesConnector = $this->getMockBuilder('Alchemy\Geonames\Connector')
|
$geonamesConnector = $this->getMockBuilder('Alchemy\Geonames\Connector')
|
||||||
->disableOriginalConstructor()
|
->disableOriginalConstructor()
|
||||||
|
Reference in New Issue
Block a user