ApiTestCase icon indicating copy to clipboard operation
ApiTestCase copied to clipboard

Handy PHPUnit test case for testing JSON APIs in your Symfony applications.

Results 12 ApiTestCase issues
Sort by recently updated
recently updated
newest added

Cannot install `symfony/maker-bundle:^1.43` because of `doctrine/orm` conflict. ``` Using version ^1.43 for symfony/maker-bundle ./composer.json has been updated Running composer update symfony/maker-bundle --with-all-dependencies Loading composer repositories with package information Restricting packages...

Using PHPUnit 9.1.5 I'm seeing this deprecation notice on every run. ``` Other deprecation notices (1) 1x: The "PHPUnit\Framework\TestCase::__construct()" method is considered internal This method is not covered by the...

Hi, Is there easy way to use the assert offert by JsonApiTestCase, minely the $this->assertResponse() In a behat test ? Thx in advance

| Q | A | --------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | License | MIT PHPUnit deprecates the...

What the title says. Once the shared kernel boots, the configuration for the bundles is not loaded for the test environment. In my particular use case, I'm trying to configure...

bug

| Q | A | --------------- | --- | Bug fix? | yes | New feature? | yes | BC breaks? | yes | Related tickets | n/a | License...

``` Adding phpunit/phpunit as a dependency is discouraged in favor of Symfony's PHPUnit Bridge. * Instead: 1. Remove it now: composer remove --dev phpunit/phpunit 2. Use Symfony's bridge: composer require...

We should try some tool that will help to maintain clean code base. E.g. https://github.com/Symplify/EasyCodingStandard

`You have requested a non-existent service "fidry_alice_data_fixtures.loader.doctrine"` shows up after upgrading from v2 to v3, might be worth to add related info to upgrade file.

enhancement

Mongodb fixtures should be load by fixture loader before tests.