webfactory / symfony-application-tests

Contains several generic test scenarios that can be applied to Symfony applications.
MIT License
10 stars 1 forks source link

Add Symfony 3 support #28

Closed Matthimatiker closed 8 years ago

Matthimatiker commented 8 years ago

Currently, there seem to be a few problems:

PHPUnit 5.3.4 by Sebastian Bergmann and contributors.

......W..........................................E............... 65 / 79 ( 82%)
..............                                                    79 / 79 (100%)

Time: 1.87 seconds, Memory: 12.00MB

There was 1 error:

1) Webfactory\Util\ServiceCreatorTest::testCreatorThrowsExceptionIfItIsNotPossibleToCreateService
Error: Call to undefined method Symfony\Component\DependencyInjection\Definition::setFactoryClass()

/Users/mmo/Projekte/symfony-application-tests/tests/Webfactory/Util/ServiceCreatorTest.php:77

--

There was 1 warning:

1) Warning
The data provider specified for Webfactory\Tests\Integration\SecureAnnotationTest::testNonServiceControllerDoesNotUseSecureAnnotations is invalid.
The routing file "/Users/mmo/Projekte/symfony-application-tests/tests/_files/test-application/src/Webfactory/TestBundle/Resources/config/routing.yml" contains unsupported keys for "secure_test": "pattern". Expected one of: "resource", "type", "prefix", "path", "host", "schemes", "methods", "defaults", "requirements", "options", "condition" in /Users/mmo/Projekte/symfony-application-tests/tests/_files/test-application/src/Webfactory/TestBundle/Resources/config/routing.yml (which is being imported from "/Users/mmo/Projekte/symfony-application-tests/tests/_files/test-application/app/config/routing.yml").

WARNINGS!
Tests: 79, Assertions: 104, Errors: 1, Warnings: 1.