Merge pull request #182 from jaugustin/fix-tests-cross-platform
Fix tests cross platform
This commit is contained in:
commit
15a5e74c27
|
@ -57,7 +57,8 @@ class AbstractCommandTest extends TestCase
|
|||
$schema
|
||||
->expects($this->once())
|
||||
->method('getRealPath')
|
||||
->will($this->returnValue('/Users/foo/project/src/My/SuperBundle/Resources/config/my-schema.xml'));
|
||||
->will($this->returnValue('/Users/foo/project/src/My/SuperBundle'
|
||||
. DIRECTORY_SEPARATOR . 'Resources' . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR . 'my-schema.xml'));
|
||||
|
||||
$expected = '@MySuperBundle/Resources/config/my-schema.xml';
|
||||
|
||||
|
@ -83,7 +84,8 @@ class AbstractCommandTest extends TestCase
|
|||
$schema
|
||||
->expects($this->once())
|
||||
->method('getRealPath')
|
||||
->will($this->returnValue('/Users/foo/project/src/My/SuperBundle/Resources/config/propel/my-schema.xml'));
|
||||
->will($this->returnValue('/Users/foo/project/src/My/SuperBundle'
|
||||
. DIRECTORY_SEPARATOR . 'Resources' . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR . 'propel/my-schema.xml'));
|
||||
|
||||
$expected = '@MySuperBundle/Resources/config/propel/my-schema.xml';
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"propel/propel1": "1.6.*"
|
||||
},
|
||||
"require-dev": {
|
||||
"sensio/framework-extra-bundle": "dev-master",
|
||||
"sensio/framework-extra-bundle": ">=2.1",
|
||||
"fzaninotto/faker": "dev-master"
|
||||
},
|
||||
"autoload": {
|
||||
|
|
Loading…
Reference in a new issue