Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Created by PhpStorm.
- * User: anton
- * Date: 11.12.18
- * Time: 14:56
- */
- namespace Tests\Functional\ApiBundle\Service\LoyaltySystem\Loymax;
- use ApiBundle\Service\LoyaltySystem\Loymax\User\UserProviderFactory;
- use App\Test\ApiTestCase;
- use PHPUnit\Framework\TestCase;
- use Symfony\Component\VarDumper\VarDumper;
- class UserProviderFactoryTest extends ApiTestCase
- {
- public function testCanGetProvider()
- {
- $provider = ($this->getContainer())->get('user.provider.interface');
- self::assertNotNull($provider);
- }
- }
- Testing Tests\Functional\ApiBundle\Service\LoyaltySystem\Loymax\UserProviderFactoryTest
- Starting sapato_php_1 ... done
- RuntimeException : There is no current request.
- /var/www/api/vendor/friendsofsymfony/rest-bundle/Request/ParamFetcher.php:242
- /var/www/api/vendor/friendsofsymfony/rest-bundle/Request/ParamFetcher.php:87
- /var/www/api/src/ApiBundle/Service/Request/Handle/Preparer/PreparerTrait.php:20
- /var/www/api/src/ApiBundle/Service/Request/Handle/Preparer/QueryStringPreparer.php:19
- /var/www/api/src/ApiBundle/Service/Request/Handle/Preparer/PreparerComposite.php:22
- /var/www/api/src/ApiBundle/Service/Request/Handle/RequestContainer/RequestContainerFactory.php:44
- /var/www/api/var/cache/test/ContainerHyguyh0/getRequestContainerService.php:8
- /var/www/api/var/cache/test/ContainerHyguyh0/appTestProjectContainer.php:2162
- /var/www/api/var/cache/test/ContainerHyguyh0/getUser_Provider_InterfaceService.php:8
- /var/www/api/var/cache/test/ContainerHyguyh0/appTestProjectContainer.php:2162
- /var/www/api/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php:304
- /var/www/api/tests/functional/ApiBundle/Service/LoyaltySystem/Loymax/UserProviderFactoryTest.php:21
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement