Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ install:
- composer update --no-interaction --prefer-dist

script:
- phpunit
- vendor/bin/phpunit
- vendor/bin/behat
3 changes: 1 addition & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ install:
- cd %APPVEYOR_BUILD_FOLDER%
- php -r "readfile('http://getcomposer.org/installer');" | php
- php composer.phar install --no-interaction --no-progress
- appveyor DownloadFile https://phar.phpunit.de/phpunit.phar

test_script:
- cd %APPVEYOR_BUILD_FOLDER%
- php phpunit.phar
- php vendor\behat\behat\bin\behat
- php vendor\phpunit\phpunit\phpunit
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"willdurand/negotiation": "^2.0"
},
"require-dev": {
"phpunit/phpunit": "^5.0",
"behat/behat": "^3.1",
"behat/mink": "^1.7",
"behat/mink-browserkit-driver": "^1.3.1",
Expand All @@ -36,7 +37,7 @@
"nelmio/api-doc-bundle": "^2.11.2",
"php-mock/php-mock-phpunit": "^1.1",
"phpdocumentor/reflection-docblock": "^3.0",
"symfony/cache": "^3.1@dev",
"symfony/cache": "^3.1",
"symfony/dependency-injection": "^2.8 || ^3.0",
"symfony/finder": "^2.3",
"symfony/framework-bundle": "^3.1",
Expand Down
4 changes: 1 addition & 3 deletions tests/Bridge/Doctrine/Orm/Filter/SearchFilterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,6 @@ protected function setUp()
*/
public function testApply(array $filterParameters, array $query, $expected)
{
$this->markTestSkipped('Require Prophecy to update to phpDocumentor/reflection-docblock 3.');

$request = Request::create('/api/dummies', 'GET', $query);
$requestStack = new RequestStack();
$requestStack->push($request);
Expand Down Expand Up @@ -441,7 +439,7 @@ public function filterProvider()
'relatedDummies' => [['foo']],
],
[
'dql' => sprintf('SELECT o FROM %s o inner join o.relatedDummy relatedDummy_123456abcdefg WHERE relatedDummy_123456abcdefg.id = :relatedDummy_123456abcdefg', Dummy::class),
'dql' => sprintf('SELECT o FROM %s o INNER JOIN o.relateddummy relateddummy_123456abcdefg WHERE o.name = :name_123456abcdefg AND relateddummy_123456abcdefg.id = :relateddummy_123456abcdefg', Dummy::class),
'parameters' => [
'relatedDummy_123456abcdefg' => 'foo',
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ public function testNoDocBlock()

public function testExtractDescription()
{
$this->markTestSkipped('Require Prophecy to update to phpDocumentor/reflection-docblock 3.');

$decoratedProphecy = $this->prophesize(ResourceMetadataFactoryInterface::class);
$decoratedProphecy->create(DummyEntity::class)->willReturn(new ResourceMetadata())->shouldBeCalled();
$decorated = $decoratedProphecy->reveal();
Expand Down